#4166BE#4166BE

#4166BE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.144 H 264.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4166BE
RGBrgb(65, 102, 190)
HSLhsl(222, 49%, 50%)
HSVhsv(222, 66%, 75%)
CMYKcmyk(65.8%, 46.3%, 0%, 25.5%)
CIE-LABlab(44.72, 15.62, -50.24)
CIE-LCHlch(44.72, 52.62, 287.27°)
OKLaboklab(52.88% -0.0131 -0.1437)
OKLCHoklch(52.88% 0.144 264.8)
XYZxyz(16.2224, 14.3427, 50.6187)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166BE #BE9941
analogous
#41A5BE #4166BE #5A41BE
triadic
#4166BE #BE4166 #66BE41
tetradic
#4166BE #BE41A5 #BE9941 #41BE5A
square
#4166BE #BE41A5 #BE9941 #41BE5A
split-complementary
#4166BE #BE5A41 #A5BE41
monochromatic
#223563 #314E90 #4166BE #6F8BCE #9CAFDD

Accessibility & contrast

On white

5.43
#4166BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4166BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166BE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166BE#FFFFFF#000000##FFFFFF
##4166BE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4166be;
/* rgb */ color: rgb(65, 102, 190);
/* oklch */ color: oklch(52.9% 0.144 264.8);
Tailwind
colors: {
  custom: {
    50: '#8291d2',
    500: '#4166be',
    950: '#000000',
  },
}
SCSS
$custom: #4166be;
$custom-light: #8291d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4166be",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 222.24,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.14432,
    "h": 264.8
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#4166BE
secondary
#C9B991
accent
#B04FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4166BE

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

Preview Lab → · Contrast checker → · Palette generator →

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