#02275C

Closest named color: Marine (#042E60). oklch(28.5% 0.104 258.4), rgb(2, 39, 92).

Aa

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

About this color

#02275C is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.104 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.022 away. White text reads best on it, at 14.50:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.44:1
White text14.50:1

Values

HEX#02275C
RGBrgb(2, 39, 92)
HSLhsl(215, 96%, 18%)
OKLCHoklch(28.5% 0.104 258.4)

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 #02275C 14.50:1 AAA Lc -103.8 Preferred for body text
Black text on #02275C 1.44:1 Fails Lc 0.0 Not readable
#02275C text on white 14.50:1 AAA Lc 100.8 Preferred for body text
#02275C text on black 1.44:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFF

    oklch(93.6% 0.031 258.9)

  3. Step 200

    200

    #C3DBFF

    oklch(88.5% 0.056 258.4)

  4. Step 300

    300

    #9AC2FF

    oklch(80.8% 0.097 258.7)

  5. Step 400

    400

    #62A0FF

    oklch(70.7% 0.154 258.7)

  6. Step 500

    500

    #3084FF

    oklch(63% 0.2 258.6)

  7. Step 600

    600

    #006BEB

    oklch(55.7% 0.21 258.5)

  8. Step 700

    700

    #005AC7

    oklch(49.2% 0.185 258.3)

  9. Step 800

    800

    #0049A5

    oklch(42.7% 0.162 258.5)

  10. Step 900

    900

    #003C8B

    oklch(37.6% 0.143 258.6)

  11. Step 950

    950 (this color)

    #02275C

    oklch(28.5% 0.104 258.4)

Export this scale for Tailwind in the Tailwind colors tool

#02275C 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)#002D5E0.018
Deuteranopia (no green cones)#00255B0.007
Tritanopia (no blue cones)#00343D0.078
Achromatopsia (no color)#2929290.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #02275C

    #02275C

    oklch(28.5% 0.104 258.4)

  • #3A2600

    #3A2600

    oklch(28.6% 0.059 78.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02275C

    #02275C

    oklch(28.5% 0.104 258.4)

  • #002F40

    #002F40

    oklch(28.5% 0.056 228.7)

  • #2A1D59

    #2A1D59

    oklch(28.6% 0.103 288)

Open the analogous palette in the generator

Split complementary

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

  • #02275C

    #02275C

    oklch(28.5% 0.104 258.4)

  • #471B00

    #471B00

    oklch(28.4% 0.077 48.2)

  • #2D2C00

    #2D2C00

    oklch(28.5% 0.062 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02275C

    #02275C

    oklch(28.5% 0.104 258.4)

  • #520815

    #520815

    oklch(28.5% 0.104 18.4)

  • #0E3400

    #0E3400

    oklch(28.6% 0.09 138.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02275C

    #02275C

    oklch(28.5% 0.104 258.4)

  • #4C0B33

    #4C0B33

    oklch(28.6% 0.104 348.2)

  • #3A2600

    #3A2600

    oklch(28.6% 0.059 78.6)

  • #003325

    #003325

    oklch(28.5% 0.057 168.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02275C 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.