#2D3F68

Closest named color: Dark Grey Blue (#29465B). oklch(37.3% 0.074 265.1), rgb(45, 63, 104).

Aa

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

About this color

#2D3F68 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.074 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.036 away. White text reads best on it, at 10.38:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.02:1
White text10.38:1

Values

HEX#2D3F68
RGBrgb(45, 63, 104)
HSLhsl(222, 40%, 29%)
OKLCHoklch(37.3% 0.074 265.1)

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 #2D3F68 10.38:1 AAA Lc -98.0 Preferred for body text
Black text on #2D3F68 2.02:1 Fails Lc 9.9 Not readable
#2D3F68 text on white 10.38:1 AAA Lc 94.0 Preferred for body text
#2D3F68 text on black 2.02:1 Fails Lc -8.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #CFD9EE

    oklch(88.4% 0.031 265.3)

  4. Step 300

    300

    #AFC1E6

    oklch(81% 0.056 264.7)

  5. Step 400

    400

    #85A0D9

    oklch(70.7% 0.089 264.7)

  6. Step 500

    500

    #6787CF

    oklch(63% 0.115 265.1)

  7. Step 600

    600

    #4F70BC

    oklch(55.6% 0.124 264.9)

  8. Step 700

    700

    #405DA2

    oklch(49% 0.116 265.2)

  9. Step 800

    800

    #354C83

    oklch(42.6% 0.096 265.4)

  10. Step 900

    900 (this color)

    #2D3F68

    oklch(37.3% 0.074 265.1)

  11. Step 950

    950

    #1B263E

    oklch(27.1% 0.048 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D3F68 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)#2F436A0.013
Deuteranopia (no green cones)#283D670.010
Tritanopia (no blue cones)#0E484E0.067
Achromatopsia (no color)#4040400.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3F68

    #2D3F68

    oklch(37.3% 0.074 265.1)

  • #523D03

    #523D03

    oklch(37.3% 0.074 86)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3F68

    #2D3F68

    oklch(37.3% 0.074 265.1)

  • #094662

    #094662

    oklch(37.3% 0.074 235.1)

  • #443864

    #443864

    oklch(37.4% 0.075 295.1)

Open the analogous palette in the generator

Split complementary

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

  • #2D3F68

    #2D3F68

    oklch(37.3% 0.074 265.1)

  • #5E3515

    #5E3515

    oklch(37.4% 0.074 55.7)

  • #3F450F

    #3F450F

    oklch(37.3% 0.075 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3F68

    #2D3F68

    oklch(37.3% 0.074 265.1)

  • #622F2C

    #622F2C

    oklch(37.2% 0.074 24.8)

  • #254B27

    #254B27

    oklch(37.4% 0.074 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3F68

    #2D3F68

    oklch(37.3% 0.074 265.1)

  • #5F2E42

    #5F2E42

    oklch(37.3% 0.075 355.6)

  • #523D03

    #523D03

    oklch(37.3% 0.074 86)

  • #004C3E

    #004C3E

    oklch(37.2% 0.07 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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