#283F7B

Closest named color: Twilight Blue (#0A437A). oklch(38.3% 0.106 265.8), rgb(40, 63, 123).

Aa

White text reads best on this color (10.06:1).

About this color

#283F7B is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.106 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 10.06:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.08:1
White text10.06:1

Values

HEX#283F7B
RGBrgb(40, 63, 123)
HSLhsl(223, 51%, 32%)
OKLCHoklch(38.3% 0.106 265.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #283F7B 10.06:1 AAA Lc -97.2 Preferred for body text
Black text on #283F7B 2.08:1 Fails Lc 10.8 Not readable
#283F7B text on white 10.06:1 AAA Lc 93.1 Preferred for body text
#283F7B text on black 2.08:1 Fails Lc -9.4 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CBD9F7

    oklch(88.4% 0.044 265.6)

  4. Step 300

    300

    #A8C0F5

    oklch(80.9% 0.08 265.7)

  5. Step 400

    400

    #7B9EF0

    oklch(70.8% 0.127 265.7)

  6. Step 500

    500

    #5A83EB

    oklch(63.1% 0.163 265.8)

  7. Step 600

    600

    #426AD9

    oklch(55.6% 0.176 265.9)

  8. Step 700

    700

    #3458BC

    oklch(49.2% 0.163 265.7)

  9. Step 800

    800

    #2B4898

    oklch(42.6% 0.136 265.8)

  10. Step 900

    900 (this color)

    #283F7B

    oklch(38.3% 0.106 265.8)

  11. Step 950

    950

    #172447

    oklch(26.9% 0.068 266.6)

Export this scale for Tailwind in the Tailwind colors tool

#283F7B with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#21467D0.020
Deuteranopia (no green cones)#113E7A0.022
Tritanopia (no blue cones)#004D570.088
Achromatopsia (no color)#4242420.106

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #283F7B

    #283F7B

    oklch(38.3% 0.106 265.8)

  • #563F00

    #563F00

    oklch(38.3% 0.078 85.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283F7B

    #283F7B

    oklch(38.3% 0.106 265.8)

  • #004969

    #004969

    oklch(38.3% 0.083 236)

  • #493474

    #493474

    oklch(38.2% 0.106 296.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #283F7B

    #283F7B

    oklch(38.3% 0.106 265.8)

  • #683300

    #683300

    oklch(38.4% 0.094 55.7)

  • #414800

    #414800

    oklch(38.2% 0.087 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283F7B

    #283F7B

    oklch(38.3% 0.106 265.8)

  • #712724

    #712724

    oklch(38.3% 0.106 25.7)

  • #10511C

    #10511C

    oklch(38.2% 0.105 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283F7B

    #283F7B

    oklch(38.3% 0.106 265.8)

  • #6C2645

    #6C2645

    oklch(38.2% 0.105 355.7)

  • #563F00

    #563F00

    oklch(38.3% 0.078 85.1)

  • #004F42

    #004F42

    oklch(38.2% 0.071 176.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #283F7B, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #283F7B in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.