#2F4162

Closest named color: Dark Grey Blue (#29465B). oklch(37.6% 0.062 262), rgb(47, 65, 98).

Aa

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

About this color

#2F4162 is a dark, muted blue. In OKLCH its lightness is 38%, its chroma 0.062 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.024 away. White text reads best on it, at 10.22:1.

Hue familyBlues
Lightnessdark (38%)
Chromamuted (0.062)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.05:1
White text10.22:1

Values

HEX#2F4162
RGBrgb(47, 65, 98)
HSLhsl(219, 35%, 28%)
OKLCHoklch(37.6% 0.062 262)

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 #2F4162 10.22:1 AAA Lc -97.7 Preferred for body text
Black text on #2F4162 2.05:1 Fails Lc 10.3 Not readable
#2F4162 text on white 10.22:1 AAA Lc 93.7 Preferred for body text
#2F4162 text on black 2.05:1 Fails Lc -8.9 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0DAEB

    oklch(88.6% 0.026 261.1)

  4. Step 300

    300

    #B1C1DF

    oklch(80.9% 0.046 263)

  5. Step 400

    400

    #87A1CF

    oklch(70.6% 0.074 261.7)

  6. Step 500

    500

    #6A89C3

    oklch(63% 0.095 262.4)

  7. Step 600

    600

    #5272AF

    oklch(55.5% 0.102 262.5)

  8. Step 700

    700

    #426097

    oklch(49.2% 0.096 261.8)

  9. Step 800

    800

    #374E7A

    oklch(42.6% 0.079 262.5)

  10. Step 900

    900 (this color)

    #2F4162

    oklch(37.6% 0.062 262)

  11. Step 950

    950

    #1C263A

    oklch(26.9% 0.04 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F4162 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)#3443630.010
Deuteranopia (no green cones)#2F3F610.006
Tritanopia (no blue cones)#19484D0.055
Achromatopsia (no color)#4141410.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4162

    #2F4162

    oklch(37.6% 0.062 262)

  • #523E16

    #523E16

    oklch(37.7% 0.062 82)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4162

    #2F4162

    oklch(37.6% 0.062 262)

  • #19475C

    #19475C

    oklch(37.7% 0.061 231.4)

  • #423B5F

    #423B5F

    oklch(37.6% 0.061 292.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F4162

    #2F4162

    oklch(37.6% 0.062 262)

  • #5B3721

    #5B3721

    oklch(37.5% 0.062 51.3)

  • #42441B

    #42441B

    oklch(37.5% 0.061 111.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4162

    #2F4162

    oklch(37.6% 0.062 262)

  • #5E3332

    #5E3332

    oklch(37.5% 0.062 21.9)

  • #2E492B

    #2E492B

    oklch(37.5% 0.06 142)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4162

    #2F4162

    oklch(37.6% 0.062 262)

  • #5A3345

    #5A3345

    oklch(37.6% 0.062 351.3)

  • #523E16

    #523E16

    oklch(37.7% 0.062 82)

  • #164C3D

    #164C3D

    oklch(37.7% 0.062 171.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F4162 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.