#4165DE

Closest named color: Royal Blue (#4169E1). oklch(55% 0.189 267.3), rgb(65, 101, 222).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.189)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.14:1
White text5.07:1

Values

HEX#4165DE
RGBrgb(65, 101, 222)
HSLhsl(226, 70%, 56%)
OKLCHoklch(55% 0.189 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 #4165DE 5.07:1 AA Lc -80.0 Fine for body text
Black text on #4165DE 4.14:1 AA large text Lc 29.5 Dividers and decoration only
#4165DE text on white 5.07:1 AA Lc 74.6 Content text, not long reading
#4165DE text on black 4.14:1 AA large text Lc -27.2 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CBD9F9

    oklch(88.5% 0.047 266.7)

  4. Step 300

    300

    #A8BFF9

    oklch(80.8% 0.086 267.7)

  5. Step 400

    400

    #7B9CF5

    oklch(70.6% 0.136 267.5)

  6. Step 500

    500

    #5B81F2

    oklch(63.2% 0.174 267.3)

  7. Step 600

    600 (this color)

    #4165DE

    oklch(55% 0.189 267.3)

  8. Step 700

    700

    #3555C3

    oklch(49.2% 0.176 267.2)

  9. Step 800

    800

    #2C469D

    oklch(42.7% 0.145 267.3)

  10. Step 900

    900

    #273C7D

    oklch(37.7% 0.113 267.3)

  11. Step 950

    950

    #172449

    oklch(27.1% 0.071 267.1)

Export this scale for Tailwind in the Tailwind colors tool

#4165DE 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)#0076E20.048
Deuteranopia (no green cones)#0067DC0.036
Tritanopia (no blue cones)#0082980.151
Achromatopsia (no color)#6E6E6E0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #4165DE

    #4165DE

    oklch(55% 0.189 267.3)

  • #8D6C00

    #8D6C00

    oklch(54.9% 0.112 87.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4165DE

    #4165DE

    oklch(55% 0.189 267.3)

  • #007AAF

    #007AAF

    oklch(55% 0.121 237.6)

  • #8050D0

    #8050D0

    oklch(55% 0.189 297)

Open the analogous palette in the generator

Split complementary

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

  • #4165DE

    #4165DE

    oklch(55% 0.189 267.3)

  • #A95900

    #A95900

    oklch(54.8% 0.133 57.1)

  • #6C7A00

    #6C7A00

    oklch(54.9% 0.127 117.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4165DE

    #4165DE

    oklch(55% 0.189 267.3)

  • #C8312C

    #C8312C

    oklch(55% 0.189 27.4)

  • #008932

    #008932

    oklch(54.9% 0.161 147.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4165DE

    #4165DE

    oklch(55% 0.189 267.3)

  • #C02F72

    #C02F72

    oklch(55% 0.188 357.5)

  • #8D6C00

    #8D6C00

    oklch(54.9% 0.112 87.4)

  • #008471

    #008471

    oklch(54.9% 0.101 177.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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