#042647

Closest named color: Oxford Blue (#1B263B). oklch(26.6% 0.072 251.7), rgb(4, 38, 71).

Aa

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

About this color

#042647 is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.072 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.032 away. White text reads best on it, at 15.29:1.

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.29:1

Values

HEX#042647
RGBrgb(4, 38, 71)
HSLhsl(210, 89%, 15%)
OKLCHoklch(26.6% 0.072 251.7)

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 #042647 15.29:1 AAA Lc -104.7 Preferred for body text
Black text on #042647 1.37:1 Fails Lc 0.0 Not readable
#042647 text on white 15.29:1 AAA Lc 101.9 Preferred for body text
#042647 text on black 1.37: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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEEBFA

    oklch(93.5% 0.025 251.9)

  3. Step 200

    200

    #C3DCF8

    oklch(88.5% 0.047 251.3)

  4. Step 300

    300

    #98C5F7

    oklch(81% 0.086 251.5)

  5. Step 400

    400

    #5BA5F3

    oklch(70.8% 0.137 251.4)

  6. Step 500

    500

    #1E8BEF

    oklch(63.1% 0.176 251.9)

  7. Step 600

    600

    #0074CF

    oklch(55.5% 0.165 251.7)

  8. Step 700

    700

    #0061AF

    oklch(49% 0.146 251.8)

  9. Step 800

    800

    #005091

    oklch(42.8% 0.126 251.5)

  10. Step 900

    900

    #00427A

    oklch(37.7% 0.112 251.7)

  11. Step 950

    950 (this color)

    #042647

    oklch(26.6% 0.072 251.7)

Export this scale for Tailwind in the Tailwind colors tool

#042647 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)#1528480.019
Deuteranopia (no green cones)#0922460.013
Tritanopia (no blue cones)#002E330.053
Achromatopsia (no color)#2525250.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #042647

    #042647

    oklch(26.6% 0.072 251.7)

  • #362000

    #362000

    oklch(26.6% 0.057 72.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042647

    #042647

    oklch(26.6% 0.072 251.7)

  • #002A36

    #002A36

    oklch(26.4% 0.049 222.2)

  • #201F47

    #201F47

    oklch(26.5% 0.073 281.3)

Open the analogous palette in the generator

Split complementary

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

  • #042647

    #042647

    oklch(26.6% 0.072 251.7)

  • #411604

    #411604

    oklch(26.5% 0.073 41.8)

  • #2B2600

    #2B2600

    oklch(26.6% 0.056 101.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042647

    #042647

    oklch(26.6% 0.072 251.7)

  • #41131C

    #41131C

    oklch(26.5% 0.072 11.6)

  • #182C01

    #182C01

    oklch(26.6% 0.072 131.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042647

    #042647

    oklch(26.6% 0.072 251.7)

  • #3C152F

    #3C152F

    oklch(26.7% 0.071 342.3)

  • #362000

    #362000

    oklch(26.6% 0.057 72.2)

  • #002E1C

    #002E1C

    oklch(26.6% 0.059 161.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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