#4166B9#4166B9

#4166B9 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.137 H 264.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4166B9
RGBrgb(65, 102, 185)
HSLhsl(222, 48%, 49%)
HSVhsv(222, 65%, 73%)
CMYKcmyk(64.9%, 44.9%, 0%, 27.5%)
CIE-LABlab(44.42, 13.84, -47.83)
CIE-LCHlch(44.42, 49.79, 286.14°)
OKLaboklab(52.55% -0.014 -0.1366)
OKLCHoklch(52.55% 0.137 264.2)
XYZxyz(15.6852, 14.1279, 47.7899)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B9 #B99441
analogous
#41A2B9 #4166B9 #5841B9
triadic
#4166B9 #B94166 #66B941
tetradic
#4166B9 #B941A2 #B99441 #41B958
square
#4166B9 #B941A2 #B99441 #41B958
split-complementary
#4166B9 #B95841 #A2B941
monochromatic
#21345E #314D8C #4166B9 #6C89CB #99AEDB

Accessibility & contrast

On white

5.49
#4166B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4166B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166B9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166B9#FFFFFF#000000##FFFFFF
##4166B91.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4166b9;
/* rgb */ color: rgb(65, 102, 185);
/* oklch */ color: oklch(52.6% 0.137 264.2);
Tailwind
colors: {
  custom: {
    50: '#8291ce',
    500: '#4166b9',
    950: '#000000',
  },
}
SCSS
$custom: #4166b9;
$custom-light: #8291ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b9",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 185
  },
  "hsl": {
    "h": 221.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.13732,
    "h": 264.2
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#4166B9
secondary
#C7B68F
accent
#AE50D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4166B9

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

Preview Lab → · Contrast checker → · Palette generator →

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