#4165C7#4165C7

#4165C7 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.3% C 0.158 H 266.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4165C7
RGBrgb(65, 101, 199)
HSLhsl(224, 54%, 52%)
HSVhsv(224, 67%, 78%)
CMYKcmyk(67.3%, 49.2%, 0%, 22%)
CIE-LABlab(45.02, 19.48, -54.97)
CIE-LCHlch(45.02, 58.32, 289.51°)
OKLaboklab(53.29% -0.011 -0.1576)
OKLCHoklch(53.29% 0.158 266)
XYZxyz(17.1389, 14.5530, 55.9275)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165C7 #C7A341
analogous
#41A8C7 #4165C7 #6041C7
triadic
#4165C7 #C74165 #65C741
tetradic
#4165C7 #C741A8 #C7A341 #41C760
square
#4165C7 #C741A8 #C7A341 #41C760
split-complementary
#4165C7 #C76041 #A8C741
monochromatic
#20356D #2E4C9D #4165C7 #708BD5 #A0B2E3

Accessibility & contrast

On white

5.37
#4165C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4165C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165C7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165C7#FFFFFF#000000##FFFFFF
##4165C71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CB
Deuteranopia (green-blind)
#0465C5
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4165c7;
/* rgb */ color: rgb(65, 101, 199);
/* oklch */ color: oklch(53.3% 0.158 266.0);
Tailwind
colors: {
  custom: {
    50: '#8490d9',
    500: '#4165c7',
    950: '#000000',
  },
}
SCSS
$custom: #4165c7;
$custom-light: #8490d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4165c7",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 199
  },
  "hsl": {
    "h": 223.881,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.15802,
    "h": 266
  },
  "luminance": 0.14555
}

Semantic roles & 50–950 ramp

primary
#4165C7
secondary
#CFC095
accent
#B64ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4165C7

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

Preview Lab → · Contrast checker → · Palette generator →

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