#02456F

Closest named color: Twilight Blue (#0A437A). oklch(37.7% 0.093 244.7), rgb(2, 69, 111).

Aa

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

About this color

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

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

Values

HEX#02456F
RGBrgb(2, 69, 111)
HSLhsl(203, 96%, 22%)
OKLCHoklch(37.7% 0.093 244.7)

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 #02456F 10.07:1 AAA Lc -97.0 Preferred for body text
Black text on #02456F 2.08:1 Fails Lc 11.1 Not readable
#02456F text on white 10.07:1 AAA Lc 92.9 Preferred for body text
#02456F text on black 2.08:1 Fails Lc -9.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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C5DDF2

    oklch(88.6% 0.039 244.6)

  4. Step 300

    300

    #9BC6EB

    oklch(80.9% 0.07 244.8)

  5. Step 400

    400

    #60A8E1

    oklch(70.8% 0.111 244.2)

  6. Step 500

    500

    #2790D9

    oklch(63.1% 0.143 244.7)

  7. Step 600

    600

    #0079BE

    oklch(55.6% 0.139 244.6)

  8. Step 700

    700

    #0066A1

    oklch(49.2% 0.123 244.5)

  9. Step 800

    800

    #005385

    oklch(42.7% 0.107 244.8)

  10. Step 900

    900 (this color)

    #02456F

    oklch(37.7% 0.093 244.7)

  11. Step 950

    950

    #072941

    oklch(27.1% 0.059 244.2)

Export this scale for Tailwind in the Tailwind colors tool

#02456F 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)#3147710.039
Deuteranopia (no green cones)#213E6E0.026
Tritanopia (no blue cones)#004F540.064
Achromatopsia (no color)#4242420.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #02456F

    #02456F

    oklch(37.7% 0.093 244.7)

  • #603600

    #603600

    oklch(37.7% 0.085 64.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02456F

    #02456F

    oklch(37.7% 0.093 244.7)

  • #004A57

    #004A57

    oklch(37.6% 0.066 214.5)

  • #343C72

    #343C72

    oklch(37.8% 0.092 274.8)

Open the analogous palette in the generator

Split complementary

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

  • #02456F

    #02456F

    oklch(37.7% 0.093 244.7)

  • #6A2C1D

    #6A2C1D

    oklch(37.7% 0.093 34.9)

  • #4F4000

    #4F4000

    oklch(37.6% 0.077 93.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02456F

    #02456F

    oklch(37.7% 0.093 244.7)

  • #68293B

    #68293B

    oklch(37.6% 0.092 4.7)

  • #374902

    #374902

    oklch(37.6% 0.092 124.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02456F

    #02456F

    oklch(37.7% 0.093 244.7)

  • #5E2C55

    #5E2C55

    oklch(37.6% 0.093 334.5)

  • #603600

    #603600

    oklch(37.7% 0.085 64.2)

  • #014F2A

    #014F2A

    oklch(37.6% 0.093 154.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02456F 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.