#4165CF#4165CF

#4165CF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.169 H 266.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4165CF
RGBrgb(65, 101, 207)
HSLhsl(225, 60%, 53%)
HSVhsv(225, 69%, 81%)
CMYKcmyk(68.6%, 51.2%, 0%, 18.8%)
CIE-LABlab(45.54, 22.34, -58.72)
CIE-LCHlch(45.54, 62.83, 290.83°)
OKLaboklab(53.86% -0.0101 -0.1687)
OKLCHoklch(53.86% 0.169 266.6)
XYZxyz(18.0922, 14.9344, 60.9485)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165CF #CFAB41
analogous
#41ACCF #4165CF #6441CF
triadic
#4165CF #CF4165 #65CF41
tetradic
#4165CF #CF41AC #CFAB41 #41CF64
square
#4165CF #CF41AC #CFAB41 #41CF64
split-complementary
#4165CF #CF6441 #ACCF41
monochromatic
#1E3577 #2B4AA8 #4165CF #728DDB #A3B4E8

Accessibility & contrast

On white

5.27
#4165CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4165CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165CF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165CF#FFFFFF#000000##FFFFFF
##4165CF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4165cf;
/* rgb */ color: rgb(65, 101, 207);
/* oklch */ color: oklch(53.9% 0.169 266.6);
Tailwind
colors: {
  custom: {
    50: '#8690de',
    500: '#4165cf',
    950: '#000000',
  },
}
SCSS
$custom: #4165cf;
$custom-light: #8690de;
$custom-dark: #000000;
JSON
{
  "hex": "#4165cf",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 224.789,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53863,
    "c": 0.16896,
    "h": 266.6
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#4165CF
secondary
#D4C597
accent
#BB45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4165CF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4165CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva