#042346

Closest named color: Oxford Blue (#1B263B). oklch(25.7% 0.075 254.3), rgb(4, 35, 70).

Aa

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

About this color

#042346 is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.075 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.036 away. White text reads best on it, at 15.74:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.33:1
White text15.74:1

Values

HEX#042346
RGBrgb(4, 35, 70)
HSLhsl(212, 89%, 15%)
OKLCHoklch(25.7% 0.075 254.3)

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 #042346 15.74:1 AAA Lc -105.1 Preferred for body text
Black text on #042346 1.33:1 Fails Lc 0.0 Not readable
#042346 text on white 15.74:1 AAA Lc 102.4 Preferred for body text
#042346 text on black 1.33: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C4DCFA

    oklch(88.6% 0.049 254.1)

  4. Step 300

    300

    #99C4F9

    oklch(80.9% 0.088 254)

  5. Step 400

    400

    #5EA3F7

    oklch(70.7% 0.142 254.4)

  6. Step 500

    500

    #2889F3

    oklch(63.1% 0.181 254.4)

  7. Step 600

    600

    #0072D8

    oklch(55.7% 0.178 254.2)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800

    #004E97

    oklch(42.8% 0.136 254.1)

  10. Step 900

    900

    #03417E

    oklch(37.8% 0.118 254.1)

  11. Step 950

    950 (this color)

    #042346

    oklch(25.7% 0.075 254.3)

Export this scale for Tailwind in the Tailwind colors tool

#042346 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)#1026470.016
Deuteranopia (no green cones)#0320450.010
Tritanopia (no blue cones)#002B310.054
Achromatopsia (no color)#2323230.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #042346

    #042346

    oklch(25.7% 0.075 254.3)

  • #321F00

    #321F00

    oklch(25.7% 0.054 76)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042346

    #042346

    oklch(25.7% 0.075 254.3)

  • #002834

    #002834

    oklch(25.7% 0.048 223)

  • #201C45

    #201C45

    oklch(25.6% 0.074 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #042346

    #042346

    oklch(25.7% 0.075 254.3)

  • #3F1400

    #3F1400

    oklch(25.7% 0.074 44.4)

  • #282400

    #282400

    oklch(25.7% 0.054 103.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042346

    #042346

    oklch(25.7% 0.075 254.3)

  • #401018

    #401018

    oklch(25.7% 0.074 14.3)

  • #122A00

    #122A00

    oklch(25.5% 0.074 134.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042346

    #042346

    oklch(25.7% 0.075 254.3)

  • #3B112C

    #3B112C

    oklch(25.7% 0.076 344.2)

  • #321F00

    #321F00

    oklch(25.7% 0.054 76)

  • #002B1C

    #002B1C

    oklch(25.6% 0.054 164.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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