#18274F

Closest named color: Marine (#042E60). oklch(28.4% 0.076 266.2), rgb(24, 39, 79).

Aa

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

About this color

#18274F is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.076 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.036 away. White text reads best on it, at 14.56:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.44:1
White text14.56:1

Values

HEX#18274F
RGBrgb(24, 39, 79)
HSLhsl(224, 53%, 20%)
OKLCHoklch(28.4% 0.076 266.2)

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 #18274F 14.56:1 AAA Lc -104.1 Preferred for body text
Black text on #18274F 1.44:1 Fails Lc 0.0 Not readable
#18274F text on white 14.56:1 AAA Lc 101.2 Preferred for body text
#18274F text on black 1.44: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A6C0FC

    oklch(81% 0.09 266.3)

  5. Step 400

    400

    #779CFA

    oklch(70.7% 0.144 266.5)

  6. Step 500

    500

    #5580F7

    oklch(63% 0.184 266.3)

  7. Step 600

    600

    #3C66E6

    oklch(55.6% 0.2 266.2)

  8. Step 700

    700

    #2F54C8

    oklch(49.1% 0.185 266.1)

  9. Step 800

    800

    #2745A2

    oklch(42.6% 0.155 266.3)

  10. Step 900

    900

    #233C80

    oklch(37.7% 0.119 265.7)

  11. Step 950

    950 (this color)

    #18274F

    oklch(28.4% 0.076 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#18274F 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)#132C500.016
Deuteranopia (no green cones)#0A274E0.015
Tritanopia (no blue cones)#0030370.064
Achromatopsia (no color)#2929290.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #18274F

    #18274F

    oklch(28.4% 0.076 266.2)

  • #362700

    #362700

    oklch(28.3% 0.058 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18274F

    #18274F

    oklch(28.4% 0.076 266.2)

  • #002E44

    #002E44

    oklch(28.5% 0.061 235.9)

  • #2E204A

    #2E204A

    oklch(28.4% 0.075 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #18274F

    #18274F

    oklch(28.4% 0.076 266.2)

  • #431F00

    #431F00

    oklch(28.5% 0.069 56.2)

  • #282D00

    #282D00

    oklch(28.2% 0.065 116.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18274F

    #18274F

    oklch(28.4% 0.076 266.2)

  • #491715

    #491715

    oklch(28.4% 0.077 25.5)

  • #083310

    #083310

    oklch(28.3% 0.076 146.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18274F

    #18274F

    oklch(28.4% 0.076 266.2)

  • #45172B

    #45172B

    oklch(28.4% 0.075 355.8)

  • #362700

    #362700

    oklch(28.3% 0.058 86.4)

  • #003229

    #003229

    oklch(28.3% 0.053 176.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18274F 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.