#4162CA

Closest named color: Royal Blue (#4169E1). oklch(52.9% 0.166 267.3), rgb(65, 98, 202).

Aa

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

About this color

#4162CA is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.166 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.038 away. White text reads best on it, at 5.49:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.166)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.82:1
White text5.49:1

Values

HEX#4162CA
RGBrgb(65, 98, 202)
HSLhsl(226, 56%, 52%)
OKLCHoklch(52.9% 0.166 267.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 #4162CA 5.49:1 AA Lc -82.4 Fine for body text
Black text on #4162CA 3.82:1 AA large text Lc 27.0 Dividers and decoration only
#4162CA text on white 5.49:1 AA Lc 77.0 Fine for body text
#4162CA text on black 3.82:1 AA large text Lc -24.7 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ABC0F2

    oklch(80.9% 0.075 267)

  5. Step 400

    400

    #7F9DEB

    oklch(70.6% 0.12 267.3)

  6. Step 500

    500

    #6083E5

    oklch(63.1% 0.153 267.2)

  7. Step 600

    600 (this color)

    #4162CA

    oklch(52.9% 0.166 267.3)

  8. Step 700

    700

    #3A58B7

    oklch(49.1% 0.154 267.3)

  9. Step 800

    800

    #304894

    oklch(42.6% 0.128 267.5)

  10. Step 900

    900

    #2A3D76

    oklch(37.6% 0.1 267.6)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#4162CA 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)#2270CE0.039
Deuteranopia (no green cones)#0063C80.038
Tritanopia (no blue cones)#007B8C0.137
Achromatopsia (no color)#6969690.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #4162CA

    #4162CA

    oklch(52.9% 0.166 267.3)

  • #866600

    #866600

    oklch(52.8% 0.108 87)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4162CA

    #4162CA

    oklch(52.9% 0.166 267.3)

  • #0074A6

    #0074A6

    oklch(53% 0.116 237.2)

  • #7850BE

    #7850BE

    oklch(53% 0.166 297.2)

Open the analogous palette in the generator

Split complementary

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

  • #4162CA

    #4162CA

    oklch(52.9% 0.166 267.3)

  • #A15500

    #A15500

    oklch(53% 0.128 57.4)

  • #677400

    #677400

    oklch(53% 0.122 117.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4162CA

    #4162CA

    oklch(52.9% 0.166 267.3)

  • #B83831

    #B83831

    oklch(52.9% 0.166 27.4)

  • #00822E

    #00822E

    oklch(52.9% 0.156 147.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4162CA

    #4162CA

    oklch(52.9% 0.166 267.3)

  • #B1366C

    #B1366C

    oklch(52.9% 0.166 357.5)

  • #866600

    #866600

    oklch(52.8% 0.108 87)

  • #007E6B

    #007E6B

    oklch(53% 0.098 177.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4162CA 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.