#283C7A

Closest named color: Twilight Blue (#0A437A). oklch(37.6% 0.108 267.5), rgb(40, 60, 122).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.01:1
White text10.40:1

Values

HEX#283C7A
RGBrgb(40, 60, 122)
HSLhsl(225, 51%, 32%)
OKLCHoklch(37.6% 0.108 267.5)

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 #283C7A 10.40:1 AAA Lc -97.9 Preferred for body text
Black text on #283C7A 2.01:1 Fails Lc 10.0 Not readable
#283C7A text on white 10.40:1 AAA Lc 93.9 Preferred for body text
#283C7A text on black 2.01:1 Fails Lc -8.6 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

    #CCD9F8

    oklch(88.5% 0.045 267.4)

  4. Step 300

    300

    #AAC0F6

    oklch(81% 0.08 267.4)

  5. Step 400

    400

    #7D9DF2

    oklch(70.8% 0.13 267.4)

  6. Step 500

    500

    #5D82ED

    oklch(63.2% 0.166 267.2)

  7. Step 600

    600

    #4568DB

    oklch(55.5% 0.18 267.5)

  8. Step 700

    700

    #3756BE

    oklch(49.1% 0.167 267.3)

  9. Step 800

    800

    #2E479A

    oklch(42.7% 0.139 267.6)

  10. Step 900

    900 (this color)

    #283C7A

    oklch(37.6% 0.108 267.5)

  11. Step 950

    950

    #182448

    oklch(27.1% 0.069 267.8)

Export this scale for Tailwind in the Tailwind colors tool

#283C7A 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)#1B447C0.024
Deuteranopia (no green cones)#083C790.027
Tritanopia (no blue cones)#004A550.090
Achromatopsia (no color)#4040400.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #283C7A

    #283C7A

    oklch(37.6% 0.108 267.5)

  • #523E00

    #523E00

    oklch(37.5% 0.077 88)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283C7A

    #283C7A

    oklch(37.6% 0.108 267.5)

  • #004667

    #004667

    oklch(37.4% 0.083 237.8)

  • #493172

    #493172

    oklch(37.5% 0.108 298)

Open the analogous palette in the generator

Split complementary

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

  • #283C7A

    #283C7A

    oklch(37.6% 0.108 267.5)

  • #643200

    #643200

    oklch(37.5% 0.091 56.9)

  • #3E4700

    #3E4700

    oklch(37.7% 0.087 117.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283C7A

    #283C7A

    oklch(37.6% 0.108 267.5)

  • #70241F

    #70241F

    oklch(37.6% 0.109 27.3)

  • #02501B

    #02501B

    oklch(37.6% 0.109 147.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283C7A

    #283C7A

    oklch(37.6% 0.108 267.5)

  • #6B2341

    #6B2341

    oklch(37.5% 0.107 357.8)

  • #523E00

    #523E00

    oklch(37.5% 0.077 88)

  • #004D41

    #004D41

    oklch(37.6% 0.069 177.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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