#4165C2

Closest named color: Mid Blue (#276AB3). oklch(52.9% 0.151 265.6), rgb(65, 101, 194).

Aa

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

About this color

#4165C2 is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.151 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.036 away. White text reads best on it, at 5.43:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.151)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.86:1
White text5.43:1

Values

HEX#4165C2
RGBrgb(65, 101, 194)
HSLhsl(223, 51%, 51%)
OKLCHoklch(52.9% 0.151 265.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 #4165C2 5.43:1 AA Lc -82.1 Fine for body text
Black text on #4165C2 3.86:1 AA large text Lc 27.3 Dividers and decoration only
#4165C2 text on white 5.43:1 AA Lc 76.8 Fine for body text
#4165C2 text on black 3.86:1 AA large text Lc -25.0 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

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CDD9F3

    oklch(88.4% 0.038 265.8)

  4. Step 300

    300

    #ACC0EE

    oklch(80.9% 0.069 266.5)

  5. Step 400

    400

    #809FE5

    oklch(70.7% 0.109 265.5)

  6. Step 500

    500

    #6185DD

    oklch(63% 0.139 265.8)

  7. Step 600

    600 (this color)

    #4165C2

    oklch(52.9% 0.151 265.6)

  8. Step 700

    700

    #3A5BB0

    oklch(49.2% 0.141 265.6)

  9. Step 800

    800

    #304A8E

    oklch(42.6% 0.117 265.9)

  10. Step 900

    900

    #2A3F71

    oklch(37.7% 0.09 265.2)

  11. Step 950

    950

    #192542

    oklch(27% 0.057 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#4165C2 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)#3470C50.029
Deuteranopia (no green cones)#1764C00.033
Tritanopia (no blue cones)#007B8A0.126
Achromatopsia (no color)#6A6A6A0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #4165C2

    #4165C2

    oklch(52.9% 0.151 265.6)

  • #886600

    #886600

    oklch(53% 0.109 85.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4165C2

    #4165C2

    oklch(52.9% 0.151 265.6)

  • #0074A4

    #0074A4

    oklch(52.9% 0.114 236.1)

  • #7455B8

    #7455B8

    oklch(53% 0.151 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #4165C2

    #4165C2

    oklch(52.9% 0.151 265.6)

  • #A35300

    #A35300

    oklch(53% 0.131 55.3)

  • #697300

    #697300

    oklch(52.9% 0.12 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4165C2

    #4165C2

    oklch(52.9% 0.151 265.6)

  • #B23F3B

    #B23F3B

    oklch(52.9% 0.151 25.6)

  • #1B812D

    #1B812D

    oklch(52.9% 0.151 145.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4165C2

    #4165C2

    oklch(52.9% 0.151 265.6)

  • #AB3E6F

    #AB3E6F

    oklch(53% 0.151 355.6)

  • #886600

    #886600

    oklch(53% 0.109 85.6)

  • #007E69

    #007E69

    oklch(53% 0.099 175.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4165C2 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.