#4166BF#4166BF

#4166BF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.0% C 0.146 H 264.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4166BF
RGBrgb(65, 102, 191)
HSLhsl(222, 50%, 50%)
HSVhsv(222, 66%, 75%)
CMYKcmyk(66%, 46.6%, 0%, 25.1%)
CIE-LABlab(44.78, 15.98, -50.72)
CIE-LCHlch(44.78, 53.18, 287.49°)
OKLaboklab(52.95% -0.013 -0.1451)
OKLCHoklch(52.95% 0.146 264.9)
XYZxyz(16.3320, 14.3866, 51.1963)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166BF #BF9A41
analogous
#41A5BF #4166BF #5B41BF
triadic
#4166BF #BF4166 #66BF41
tetradic
#4166BF #BF41A5 #BF9A41 #41BF5B
square
#4166BF #BF41A5 #BF9A41 #41BF5B
split-complementary
#4166BF #BF5B41 #A5BF41
monochromatic
#223564 #314D92 #4166BF #6F8BCE #9DB0DE

Accessibility & contrast

On white

5.42
#4166BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4166BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166BF#FFFFFF#000000##FFFFFF
##4166BF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#2165BD
Tritanopia (blue-blind)
#007B89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4166bf;
/* rgb */ color: rgb(65, 102, 191);
/* oklch */ color: oklch(53.0% 0.146 264.9);
Tailwind
colors: {
  custom: {
    50: '#8391d3',
    500: '#4166bf',
    950: '#000000',
  },
}
SCSS
$custom: #4166bf;
$custom-light: #8391d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4166bf",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 222.381,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52951,
    "c": 0.14571,
    "h": 264.9
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#4166BF
secondary
#CABA92
accent
#B04FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4166BF

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

Preview Lab → · Contrast checker → · Palette generator →

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