#283D74

Closest named color: Twilight Blue (#0A437A). oklch(37.3% 0.098 266.1), rgb(40, 61, 116).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.00:1
White text10.44:1

Values

HEX#283D74
RGBrgb(40, 61, 116)
HSLhsl(223, 49%, 31%)
OKLCHoklch(37.3% 0.098 266.1)

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 #283D74 10.44:1 AAA Lc -98.0 Preferred for body text
Black text on #283D74 2.00:1 Fails Lc 9.9 Not readable
#283D74 text on white 10.44:1 AAA Lc 94.0 Preferred for body text
#283D74 text on black 2.00:1 Fails Lc -8.5 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #AAC0F1

    oklch(80.8% 0.074 265.9)

  5. Step 400

    400

    #7E9EEA

    oklch(70.7% 0.118 266.1)

  6. Step 500

    500

    #5F84E4

    oklch(63.1% 0.15 266.3)

  7. Step 600

    600

    #466BD2

    oklch(55.5% 0.164 266.3)

  8. Step 700

    700

    #3859B6

    oklch(49.1% 0.152 266.2)

  9. Step 800

    800

    #2E4993

    oklch(42.6% 0.126 266.1)

  10. Step 900

    900 (this color)

    #283D74

    oklch(37.3% 0.098 266.1)

  11. Step 950

    950

    #182545

    oklch(27.1% 0.062 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#283D74 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)#2343760.017
Deuteranopia (no green cones)#163C730.019
Tritanopia (no blue cones)#004A530.083
Achromatopsia (no color)#4040400.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #283D74

    #283D74

    oklch(37.3% 0.098 266.1)

  • #523D00

    #523D00

    oklch(37.3% 0.076 86.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283D74

    #283D74

    oklch(37.3% 0.098 266.1)

  • #004665

    #004665

    oklch(37.3% 0.08 236.1)

  • #46336E

    #46336E

    oklch(37.3% 0.099 296.1)

Open the analogous palette in the generator

Split complementary

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

  • #283D74

    #283D74

    oklch(37.3% 0.098 266.1)

  • #643100

    #643100

    oklch(37.3% 0.092 55.9)

  • #3F4600

    #3F4600

    oklch(37.5% 0.086 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283D74

    #283D74

    oklch(37.3% 0.098 266.1)

  • #6B2724

    #6B2724

    oklch(37.3% 0.098 25.5)

  • #144E1D

    #144E1D

    oklch(37.4% 0.099 145.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283D74

    #283D74

    oklch(37.3% 0.098 266.1)

  • #672642

    #672642

    oklch(37.3% 0.099 356.1)

  • #523D00

    #523D00

    oklch(37.3% 0.076 86.6)

  • #004C3F

    #004C3F

    oklch(37.2% 0.069 176.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #283D74 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.