#4166CB#4166CB

#4166CB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.162 H 266.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4166CB
RGBrgb(65, 102, 203)
HSLhsl(224, 57%, 53%)
HSVhsv(224, 68%, 80%)
CMYKcmyk(68%, 49.8%, 0%, 20.4%)
CIE-LABlab(45.55, 20.28, -56.42)
CIE-LCHlch(45.55, 59.95, 289.77°)
OKLaboklab(53.78% -0.0114 -0.1619)
OKLCHoklch(53.78% 0.162 266)
XYZxyz(17.7071, 14.9366, 58.4382)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166CB #CBA641
analogous
#41ABCB #4166CB #6141CB
triadic
#4166CB #CB4166 #66CB41
tetradic
#4166CB #CB41AB #CBA641 #41CB61
square
#4166CB #CB41AB #CBA641 #41CB61
split-complementary
#4166CB #CB6141 #ABCB41
monochromatic
#1F3672 #2C4CA2 #4166CB #718DD8 #A1B3E5

Accessibility & contrast

On white

5.27
#4166CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4166CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166CB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166CB#FFFFFF#000000##FFFFFF
##4166CB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4166cb;
/* rgb */ color: rgb(65, 102, 203);
/* oklch */ color: oklch(53.8% 0.162 266.0);
Tailwind
colors: {
  custom: {
    50: '#8591db',
    500: '#4166cb',
    950: '#000000',
  },
}
SCSS
$custom: #4166cb;
$custom-light: #8591db;
$custom-dark: #000000;
JSON
{
  "hex": "#4166cb",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 223.913,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53781,
    "c": 0.16228,
    "h": 266
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4166CB

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

Preview Lab → · Contrast checker → · Palette generator →

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