#042343

Closest named color: Oxford Blue (#1B263B). oklch(25.4% 0.07 252.6), rgb(4, 35, 67).

Aa

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

About this color

#042343 is a dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.070 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.033 away. White text reads best on it, at 15.82:1.

Hue familyBlues
Lightnessdark (25%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.82:1

Values

HEX#042343
RGBrgb(4, 35, 67)
HSLhsl(210, 89%, 14%)
OKLCHoklch(25.4% 0.07 252.6)

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 #042343 15.82:1 AAA Lc -105.2 Preferred for body text
Black text on #042343 1.32:1 Fails Lc 0.0 Not readable
#042343 text on white 15.82:1 AAA Lc 102.5 Preferred for body text
#042343 text on black 1.32: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

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C4DCF8

    oklch(88.6% 0.047 252.4)

  4. Step 300

    300

    #9AC4F5

    oklch(80.8% 0.083 252.7)

  5. Step 400

    400

    #60A4F1

    oklch(70.7% 0.133 252.8)

  6. Step 500

    500

    #2A8BEC

    oklch(63.1% 0.17 252.5)

  7. Step 600

    600

    #0073D2

    oklch(55.5% 0.17 252.7)

  8. Step 700

    700

    #0061B2

    oklch(49.2% 0.149 252.5)

  9. Step 800

    800

    #004F93

    oklch(42.7% 0.13 252.6)

  10. Step 900

    900

    #05427A

    oklch(37.8% 0.111 252.6)

  11. Step 950

    950 (this color)

    #042343

    oklch(25.4% 0.07 252.6)

Export this scale for Tailwind in the Tailwind colors tool

#042343 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)#1325440.018
Deuteranopia (no green cones)#0720420.010
Tritanopia (no blue cones)#002B2F0.053
Achromatopsia (no color)#2222220.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #042343

    #042343

    oklch(25.4% 0.07 252.6)

  • #321E00

    #321E00

    oklch(25.5% 0.054 73.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042343

    #042343

    oklch(25.4% 0.07 252.6)

  • #002733

    #002733

    oklch(25.3% 0.047 223.5)

  • #1F1D43

    #1F1D43

    oklch(25.6% 0.069 282.7)

Open the analogous palette in the generator

Split complementary

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

  • #042343

    #042343

    oklch(25.4% 0.07 252.6)

  • #3D1403

    #3D1403

    oklch(25.4% 0.07 42.2)

  • #282300

    #282300

    oklch(25.4% 0.053 101.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042343

    #042343

    oklch(25.4% 0.07 252.6)

  • #3E1119

    #3E1119

    oklch(25.5% 0.07 13)

  • #152901

    #152901

    oklch(25.4% 0.069 132.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042343

    #042343

    oklch(25.4% 0.07 252.6)

  • #38122C

    #38122C

    oklch(25.3% 0.071 341.6)

  • #321E00

    #321E00

    oklch(25.5% 0.054 73.8)

  • #002B1B

    #002B1B

    oklch(25.6% 0.055 162.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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