#4165C8#4165C8

#4165C8 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.4% C 0.159 H 266.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4165C8
RGBrgb(65, 101, 200)
HSLhsl(224, 55%, 52%)
HSVhsv(224, 68%, 78%)
CMYKcmyk(67.5%, 49.5%, 0%, 21.6%)
CIE-LABlab(45.08, 19.84, -55.44)
CIE-LCHlch(45.08, 58.89, 289.69°)
OKLaboklab(53.36% -0.0108 -0.159)
OKLCHoklch(53.36% 0.159 266.1)
XYZxyz(17.2554, 14.5996, 56.5410)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165C8 #C8A441
analogous
#41A9C8 #4165C8 #6141C8
triadic
#4165C8 #C84165 #65C841
tetradic
#4165C8 #C841A9 #C8A441 #41C861
square
#4165C8 #C841A9 #C8A441 #41C861
split-complementary
#4165C8 #C86141 #A9C841
monochromatic
#20356F #2E4C9E #4165C8 #708BD6 #A0B2E3

Accessibility & contrast

On white

5.36
#4165C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4165C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165C8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165C8#FFFFFF#000000##FFFFFF
##4165C81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#0065C6
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4165c8;
/* rgb */ color: rgb(65, 101, 200);
/* oklch */ color: oklch(53.4% 0.159 266.1);
Tailwind
colors: {
  custom: {
    50: '#8490d9',
    500: '#4165c8',
    950: '#000000',
  },
}
SCSS
$custom: #4165c8;
$custom-light: #8490d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4165c8",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 224,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.1594,
    "h": 266.1
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#4165C8
secondary
#D0C095
accent
#B749DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4165C8

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

Preview Lab → · Contrast checker → · Palette generator →

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