#283778

Closest named color: Twilight Blue (#0A437A). oklch(36.3% 0.112 270.2), rgb(40, 55, 120).

Aa

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

About this color

#283778 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.112 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.038 away. White text reads best on it, at 11.00:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.90:1
White text11.00:1

Values

HEX#283778
RGBrgb(40, 55, 120)
HSLhsl(229, 50%, 31%)
OKLCHoklch(36.3% 0.112 270.2)

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 #283778 11.00:1 AAA Lc -99.0 Preferred for body text
Black text on #283778 1.90:1 Fails Lc 8.7 Not readable
#283778 text on white 11.00:1 AAA Lc 95.2 Preferred for body text
#283778 text on black 1.90:1 Fails Lc -7.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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFB

    oklch(93.7% 0.024 267.9)

  3. Step 200

    200

    #CDD8F9

    oklch(88.4% 0.047 270.8)

  4. Step 300

    300

    #ABBFF8

    oklch(81% 0.084 269.5)

  5. Step 400

    400

    #809BF4

    oklch(70.7% 0.134 269.9)

  6. Step 500

    500

    #627FF0

    oklch(63% 0.172 270)

  7. Step 600

    600

    #4B65DF

    oklch(55.6% 0.188 270.1)

  8. Step 700

    700

    #3D53C1

    oklch(49% 0.173 270.2)

  9. Step 800

    800

    #32459C

    oklch(42.7% 0.143 270)

  10. Step 900

    900 (this color)

    #283778

    oklch(36.3% 0.112 270.2)

  11. Step 950

    950

    #192349

    oklch(27% 0.072 270)

Export this scale for Tailwind in the Tailwind colors tool

#283778 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)#0F407A0.031
Deuteranopia (no green cones)#0039770.032
Tritanopia (no blue cones)#0046520.093
Achromatopsia (no color)#3C3C3C0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #283778

    #283778

    oklch(36.3% 0.112 270.2)

  • #4D3C00

    #4D3C00

    oklch(36.4% 0.074 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283778

    #283778

    oklch(36.3% 0.112 270.2)

  • #004265

    #004265

    oklch(36.2% 0.084 240.6)

  • #482C6F

    #482C6F

    oklch(36.3% 0.112 300.1)

Open the analogous palette in the generator

Split complementary

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

  • #283778

    #283778

    oklch(36.3% 0.112 270.2)

  • #5D3100

    #5D3100

    oklch(36.2% 0.085 60.3)

  • #384400

    #384400

    oklch(36.3% 0.086 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283778

    #283778

    oklch(36.3% 0.112 270.2)

  • #6D1F16

    #6D1F16

    oklch(36.3% 0.112 30)

  • #004C1F

    #004C1F

    oklch(36.4% 0.1 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283778

    #283778

    oklch(36.3% 0.112 270.2)

  • #6A1D3B

    #6A1D3B

    oklch(36.4% 0.112 0.6)

  • #4D3C00

    #4D3C00

    oklch(36.4% 0.074 90.7)

  • #00493F

    #00493F

    oklch(36.3% 0.066 179.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #283778 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.