#4165CD#4165CD

#4165CD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.166 H 266.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4165CD
RGBrgb(65, 101, 205)
HSLhsl(225, 58%, 53%)
HSVhsv(225, 68%, 80%)
CMYKcmyk(68.3%, 50.7%, 0%, 19.6%)
CIE-LABlab(45.41, 21.63, -57.79)
CIE-LCHlch(45.41, 61.70, 290.52°)
OKLaboklab(53.72% -0.0103 -0.1659)
OKLCHoklch(53.72% 0.166 266.5)
XYZxyz(17.8493, 14.8372, 59.6690)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4165CD #CDA941
analogous
#41ABCD #4165CD #6341CD
triadic
#4165CD #CD4165 #65CD41
tetradic
#4165CD #CD41AB #CDA941 #41CD63
square
#4165CD #CD41AB #CDA941 #41CD63
split-complementary
#4165CD #CD6341 #ABCD41
monochromatic
#1F3575 #2C4BA5 #4165CD #718CDA #A2B4E6

Accessibility & contrast

On white

5.29
#4165CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4165CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4165CD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4165CD#FFFFFF#000000##FFFFFF
##4165CD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4165cd;
/* rgb */ color: rgb(65, 101, 205);
/* oklch */ color: oklch(53.7% 0.166 266.5);
Tailwind
colors: {
  custom: {
    50: '#8590dd',
    500: '#4165cd',
    950: '#000000',
  },
}
SCSS
$custom: #4165cd;
$custom-light: #8590dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4165cd",
  "rgb": {
    "r": 65,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 224.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53719,
    "c": 0.16624,
    "h": 266.5
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#4165CD
secondary
#D3C497
accent
#BA46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4165CD

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

Preview Lab → · Contrast checker → · Palette generator →

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