#4165CB#4165CB

#4165CB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.6% C 0.164 H 266.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4165CB
RGBrgb(65, 101, 203)
HSLhsl(224, 57%, 53%)
HSVhsv(224, 68%, 80%)
CMYKcmyk(68%, 50.2%, 0%, 20.4%)
CIE-LABlab(45.28, 20.91, -56.85)
CIE-LCHlch(45.28, 60.58, 290.19°)
OKLaboklab(53.58% -0.0105 -0.1632)
OKLCHoklch(53.58% 0.164 266.3)
XYZxyz(17.6094, 14.7412, 58.4057)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165CB #CBA741
analogous
#41AACB #4165CB #6241CB
triadic
#4165CB #CB4165 #65CB41
tetradic
#4165CB #CB41AA #CBA741 #41CB62
square
#4165CB #CB41AA #CBA741 #41CB62
split-complementary
#4165CB #CB6241 #AACB41
monochromatic
#1F3572 #2C4BA2 #4165CB #718CD8 #A1B3E5

Accessibility & contrast

On white

5.32
#4165CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4165CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165CB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165CB#FFFFFF#000000##FFFFFF
##4165CB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4165cb;
/* rgb */ color: rgb(65, 101, 203);
/* oklch */ color: oklch(53.6% 0.164 266.3);
Tailwind
colors: {
  custom: {
    50: '#8590db',
    500: '#4165cb',
    950: '#000000',
  },
}
SCSS
$custom: #4165cb;
$custom-light: #8590db;
$custom-dark: #000000;
JSON
{
  "hex": "#4165cb",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 224.348,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.16351,
    "h": 266.3
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#4165CB
secondary
#D2C296
accent
#B848E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4165CB

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

Preview Lab → · Contrast checker → · Palette generator →

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