#162FCF

Closest named color: Ultramarine Blue (#1805DB). oklch(42.8% 0.239 266.1), rgb(22, 47, 207).

Aa

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

About this color

#162FCF is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.239 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Ultramarine Blue (#1805DB), ΔE 0.039 away. White text reads best on it, at 8.96:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.239)
Temperaturecool
Nearest nameUltramarine Blue (#1805DB)
Black text2.34:1
White text8.96:1

Values

HEX#162FCF
RGBrgb(22, 47, 207)
HSLhsl(232, 81%, 45%)
OKLCHoklch(42.8% 0.239 266.1)

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 #162FCF 8.96:1 AAA Lc -93.7 Preferred for body text
Black text on #162FCF 2.34:1 Fails Lc 14.9 Not readable
#162FCF text on white 8.96:1 AAA Lc 89.1 Fine for body text
#162FCF text on black 2.34:1 Fails Lc -13.1 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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A4C0FF

    oklch(81% 0.095 265.8)

  5. Step 400

    400

    #749CFF

    oklch(70.8% 0.152 266)

  6. Step 500

    500

    #517FFF

    oklch(63.2% 0.197 266)

  7. Step 600

    600

    #315DFF

    oklch(55.6% 0.244 266.2)

  8. Step 700

    700

    #1C35FF

    oklch(49.2% 0.286 266.2)

  9. Step 800

    800 (this color)

    #162FCF

    oklch(42.8% 0.239 266.1)

  10. Step 900

    900

    #142FA2

    oklch(37.7% 0.186 266)

  11. Step 950

    950

    #0B1D5F

    oklch(26.9% 0.119 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#162FCF 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)#0052D40.069
Deuteranopia (no green cones)#0040CC0.029
Tritanopia (no blue cones)#00607E0.180
Achromatopsia (no color)#4949490.240

Harmonies

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

Complementary

The opposite hue (180°).

  • #162FCF

    #162FCF

    oklch(42.8% 0.239 266.1)

  • #644B00

    #644B00

    oklch(42.8% 0.087 86.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #162FCF

    #162FCF

    oklch(42.8% 0.239 266.1)

  • #00567B

    #00567B

    oklch(42.9% 0.092 236.2)

  • #6200BC

    #6200BC

    oklch(42.8% 0.233 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #162FCF

    #162FCF

    oklch(42.8% 0.239 266.1)

  • #793D00

    #793D00

    oklch(42.8% 0.105 56.2)

  • #4D5500

    #4D5500

    oklch(42.8% 0.098 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #162FCF

    #162FCF

    oklch(42.8% 0.239 266.1)

  • #980011

    #980011

    oklch(42.8% 0.174 26.1)

  • #00611C

    #00611C

    oklch(42.9% 0.13 146.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #162FCF

    #162FCF

    oklch(42.8% 0.239 266.1)

  • #910052

    #910052

    oklch(42.8% 0.175 356.1)

  • #644B00

    #644B00

    oklch(42.8% 0.087 86.6)

  • #005D4E

    #005D4E

    oklch(42.8% 0.079 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 #162FCF, closest first.

No curated palette has a color within ΔE 0.04 of #162FCF.

Similar named colors

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

Use #162FCF 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.