#4166B8#4166B8

#4166B8 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.5% C 0.136 H 264.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4166B8
RGBrgb(65, 102, 184)
HSLhsl(221, 48%, 49%)
HSVhsv(221, 65%, 72%)
CMYKcmyk(64.7%, 44.6%, 0%, 27.8%)
CIE-LABlab(44.36, 13.49, -47.34)
CIE-LCHlch(44.36, 49.22, 285.90°)
OKLaboklab(52.49% -0.0141 -0.1352)
OKLCHoklch(52.49% 0.136 264)
XYZxyz(15.5801, 14.0858, 47.2359)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B8 #B89341
analogous
#41A2B8 #4166B8 #5841B8
triadic
#4166B8 #B84166 #66B841
tetradic
#4166B8 #B841A2 #B89341 #41B858
square
#4166B8 #B841A2 #B89341 #41B858
split-complementary
#4166B8 #B85841 #A2B841
monochromatic
#21345E #314D8B #4166B8 #6B89CB #99ADDB

Accessibility & contrast

On white

5.50
#4166B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4166B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166B8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166B8#FFFFFF#000000##FFFFFF
##4166B81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4166b8;
/* rgb */ color: rgb(65, 102, 184);
/* oklch */ color: oklch(52.5% 0.136 264.0);
Tailwind
colors: {
  custom: {
    50: '#8191ce',
    500: '#4166b8',
    950: '#000000',
  },
}
SCSS
$custom: #4166b8;
$custom-light: #8191ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b8",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 221.345,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52487,
    "c": 0.13593,
    "h": 264
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#4166B8
secondary
#C7B58E
accent
#AD50D7
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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