#4166B7#4166B7

#4166B7 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.4% C 0.135 H 263.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4166B7
RGBrgb(65, 102, 183)
HSLhsl(221, 48%, 49%)
HSVhsv(221, 64%, 72%)
CMYKcmyk(64.5%, 44.3%, 0%, 28.2%)
CIE-LABlab(44.30, 13.13, -46.85)
CIE-LCHlch(44.30, 48.66, 285.66°)
OKLaboklab(52.42% -0.0143 -0.1337)
OKLCHoklch(52.42% 0.135 263.9)
XYZxyz(15.4756, 14.0440, 46.6858)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B7 #B79241
analogous
#41A1B7 #4166B7 #5741B7
triadic
#4166B7 #B74166 #66B741
tetradic
#4166B7 #B741A1 #B79241 #41B757
square
#4166B7 #B741A1 #B79241 #41B757
split-complementary
#4166B7 #B75741 #A1B741
monochromatic
#21345D #314D8A #4166B7 #6B89CA #98ADDA

Accessibility & contrast

On white

5.51
#4166B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4166B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166B7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166B7#FFFFFF#000000##FFFFFF
##4166B71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406FBA
Deuteranopia (green-blind)
#2D64B5
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4166b7;
/* rgb */ color: rgb(65, 102, 183);
/* oklch */ color: oklch(52.4% 0.135 263.9);
Tailwind
colors: {
  custom: {
    50: '#8191cd',
    500: '#4166b7',
    950: '#000000',
  },
}
SCSS
$custom: #4166b7;
$custom-light: #8191cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b7",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 221.186,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.13451,
    "h": 263.9
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#4166B7
secondary
#C6B48E
accent
#AD51D7
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166B7

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

Preview Lab → · Contrast checker → · Palette generator →

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