#4166B2#4166B2

#4166B2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.1% C 0.127 H 263.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4166B2
RGBrgb(65, 102, 178)
HSLhsl(220, 47%, 48%)
HSVhsv(220, 63%, 70%)
CMYKcmyk(63.5%, 42.7%, 0%, 30.2%)
CIE-LABlab(44.00, 11.36, -44.40)
CIE-LCHlch(44.00, 45.83, 284.35°)
OKLaboklab(52.1% -0.0153 -0.1266)
OKLCHoklch(52.1% 0.127 263.1)
XYZxyz(14.9644, 13.8395, 43.9935)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B2 #B28D41
analogous
#419EB2 #4166B2 #5441B2
triadic
#4166B2 #B24166 #66B241
tetradic
#4166B2 #B2419E #B28D41 #41B254
square
#4166B2 #B2419E #B28D41 #41B254
split-complementary
#4166B2 #B25441 #9EB241
monochromatic
#203358 #314C85 #4166B2 #6888C8 #95ABD8

Accessibility & contrast

On white

5.57
#4166B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4166B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166B2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166B2#FFFFFF#000000##FFFFFF
##4166B21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4166b2;
/* rgb */ color: rgb(65, 102, 178);
/* oklch */ color: oklch(52.1% 0.127 263.1);
Tailwind
colors: {
  custom: {
    50: '#8091c9',
    500: '#4166b2',
    950: '#000000',
  },
}
SCSS
$custom: #4166b2;
$custom-light: #8091c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b2",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 220.354,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.521,
    "c": 0.12748,
    "h": 263.1
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

primary
#4166B2
secondary
#C4B18B
accent
#AB52D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166B2

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

Preview Lab → · Contrast checker → · Palette generator →

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