#004166

Closest named color: Marine Blue (#01386A). oklch(36% 0.086 242.4), rgb(0, 65, 102).

Aa

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

About this color

#004166 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.086 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.030 away. White text reads best on it, at 10.78:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.94:1
White text10.78:1

Values

HEX#004166
RGBrgb(0, 65, 102)
HSLhsl(202, 100%, 20%)
OKLCHoklch(36% 0.086 242.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 #004166 10.78:1 AAA Lc -98.4 Preferred for body text
Black text on #004166 1.94:1 Fails Lc 9.5 Not readable
#004166 text on white 10.78:1 AAA Lc 94.5 Preferred for body text
#004166 text on black 1.94:1 Fails Lc -8.1 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0ECF6

    oklch(93.7% 0.019 243)

  3. Step 200

    200

    #C5DDEF

    oklch(88.5% 0.036 240.3)

  4. Step 300

    300

    #9DC6E7

    oklch(80.8% 0.064 242.9)

  5. Step 400

    400

    #63A8DC

    oklch(70.7% 0.104 242.7)

  6. Step 500

    500

    #2E91D2

    oklch(63.1% 0.132 242.5)

  7. Step 600

    600

    #007ABA

    oklch(55.6% 0.133 242.5)

  8. Step 700

    700

    #00669D

    oklch(49% 0.118 242.7)

  9. Step 800

    800

    #005482

    oklch(42.8% 0.102 242.4)

  10. Step 900

    900 (this color)

    #004166

    oklch(36% 0.086 242.4)

  11. Step 950

    950

    #09293F

    oklch(27% 0.055 243)

Export this scale for Tailwind in the Tailwind colors tool

#004166 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)#2F42680.039
Deuteranopia (no green cones)#213A650.028
Tritanopia (no blue cones)#004A4E0.058
Achromatopsia (no color)#3D3D3D0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #004166

    #004166

    oklch(36% 0.086 242.4)

  • #5B3100

    #5B3100

    oklch(35.9% 0.083 61.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004166

    #004166

    oklch(36% 0.086 242.4)

  • #004550

    #004550

    oklch(35.9% 0.063 212.6)

  • #2E396A

    #2E396A

    oklch(36.1% 0.086 272)

Open the analogous palette in the generator

Split complementary

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

  • #004166

    #004166

    oklch(36% 0.086 242.4)

  • #62291E

    #62291E

    oklch(35.9% 0.086 32.6)

  • #4B3B00

    #4B3B00

    oklch(35.9% 0.073 91.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004166

    #004166

    oklch(36% 0.086 242.4)

  • #602739

    #602739

    oklch(36% 0.085 2.5)

  • #354402

    #354402

    oklch(36% 0.087 122.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004166

    #004166

    oklch(36% 0.086 242.4)

  • #572A51

    #572A51

    oklch(36.1% 0.087 332.4)

  • #5B3100

    #5B3100

    oklch(35.9% 0.083 61.8)

  • #0C4A26

    #0C4A26

    oklch(36.2% 0.086 152.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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