#2F4C93

Closest named color: Cobalt (#1E488F). oklch(43.3% 0.122 265), rgb(47, 76, 147).

Aa

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

About this color

#2F4C93 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.122 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.023 away. White text reads best on it, at 8.15:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.122)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.57:1
White text8.15:1

Values

HEX#2F4C93
RGBrgb(47, 76, 147)
HSLhsl(223, 52%, 38%)
OKLCHoklch(43.3% 0.122 265)

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 #2F4C93 8.15:1 AAA Lc -92.6 Preferred for body text
Black text on #2F4C93 2.57:1 Fails Lc 16.1 Dividers and decoration only
#2F4C93 text on white 8.15:1 AAA Lc 87.9 Fine for body text
#2F4C93 text on black 2.57:1 Fails Lc -14.2 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 800.

  1. Step 50

    50

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCD9F4

    oklch(88.4% 0.04 265.1)

  4. Step 300

    300

    #AAC1F0

    oklch(81% 0.071 264.4)

  5. Step 400

    400

    #7E9FE8

    oklch(70.8% 0.114 265.1)

  6. Step 500

    500

    #5E85E1

    oklch(63.1% 0.145 265.2)

  7. Step 600

    600

    #456DCF

    oklch(55.7% 0.158 265)

  8. Step 700

    700

    #375AB3

    oklch(49.1% 0.147 265.2)

  9. Step 800

    800 (this color)

    #2F4C93

    oklch(43.3% 0.122 265)

  10. Step 900

    900

    #283F74

    oklch(37.8% 0.095 264.6)

  11. Step 950

    950

    #182544

    oklch(27% 0.061 265.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F4C93 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)#2754960.022
Deuteranopia (no green cones)#124B920.025
Tritanopia (no blue cones)#005C680.100
Achromatopsia (no color)#4F4F4F0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4C93

    #2F4C93

    oklch(43.3% 0.122 265)

  • #674C00

    #674C00

    oklch(43.4% 0.089 85)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4C93

    #2F4C93

    oklch(43.3% 0.122 265)

  • #00587C

    #00587C

    oklch(43.5% 0.092 234.9)

  • #573F8C

    #573F8C

    oklch(43.3% 0.123 295.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F4C93

    #2F4C93

    oklch(43.3% 0.122 265)

  • #7C3D00

    #7C3D00

    oklch(43.3% 0.107 54.8)

  • #4F5600

    #4F5600

    oklch(43.2% 0.098 115.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4C93

    #2F4C93

    oklch(43.3% 0.122 265)

  • #872F2C

    #872F2C

    oklch(43.4% 0.121 25.5)

  • #166120

    #166120

    oklch(43.3% 0.122 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4C93

    #2F4C93

    oklch(43.3% 0.122 265)

  • #812E54

    #812E54

    oklch(43.3% 0.121 355)

  • #674C00

    #674C00

    oklch(43.4% 0.089 85)

  • #005F4E

    #005F4E

    oklch(43.3% 0.082 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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