#4165CC#4165CC

#4165CC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.6% C 0.165 H 266.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4165CC
RGBrgb(65, 101, 204)
HSLhsl(224, 58%, 53%)
HSVhsv(224, 68%, 80%)
CMYKcmyk(68.1%, 50.5%, 0%, 20%)
CIE-LABlab(45.34, 21.27, -57.32)
CIE-LCHlch(45.34, 61.14, 290.36°)
OKLaboklab(53.65% -0.0104 -0.1645)
OKLCHoklch(53.65% 0.165 266.4)
XYZxyz(17.7290, 14.7891, 59.0353)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165CC #CCA841
analogous
#41ABCC #4165CC #6241CC
triadic
#4165CC #CC4165 #65CC41
tetradic
#4165CC #CC41AB #CCA841 #41CC62
square
#4165CC #CC41AB #CCA841 #41CC62
split-complementary
#4165CC #CC6241 #ABCC41
monochromatic
#1F3574 #2C4BA4 #4165CC #718CD9 #A1B3E6

Accessibility & contrast

On white

5.31
#4165CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4165CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165CC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165CC#FFFFFF#000000##FFFFFF
##4165CC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872D0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4165cc;
/* rgb */ color: rgb(65, 101, 204);
/* oklch */ color: oklch(53.6% 0.165 266.4);
Tailwind
colors: {
  custom: {
    50: '#8590dc',
    500: '#4165cc',
    950: '#000000',
  },
}
SCSS
$custom: #4165cc;
$custom-light: #8590dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4165cc",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 224.46,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53647,
    "c": 0.16488,
    "h": 266.4
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#4165CC
secondary
#D3C396
accent
#B947E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4165CC

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

Preview Lab → · Contrast checker → · Palette generator →

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