#4166DA#4166DA

#4166DA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.183 H 266.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4166DA
RGBrgb(65, 102, 218)
HSLhsl(225, 67%, 55%)
HSVhsv(225, 70%, 85%)
CMYKcmyk(70.2%, 53.2%, 0%, 14.5%)
CIE-LABlab(46.56, 25.65, -63.35)
CIE-LCHlch(46.56, 68.35, 292.04°)
OKLaboklab(54.87% -0.0099 -0.1823)
OKLCHoklch(54.87% 0.183 266.9)
XYZxyz(19.5818, 15.6865, 68.3119)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166DA #DAB541
analogous
#41B3DA #4166DA #6841DA
triadic
#4166DA #DA4166 #66DA41
tetradic
#4166DA #DA41B3 #DAB541 #41DA68
square
#4166DA #DA41B3 #DAB541 #41DA68
split-complementary
#4166DA #DA6841 #B3DA41
monochromatic
#1A3486 #2448BA #4166DA #748FE4 #A7B8EE

Accessibility & contrast

On white

5.08
#4166DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4166DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166DA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166DA#FFFFFF#000000##FFFFFF
##4166DA1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E76DE
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#008296
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4166da;
/* rgb */ color: rgb(65, 102, 218);
/* oklch */ color: oklch(54.9% 0.183 266.9);
Tailwind
colors: {
  custom: {
    50: '#8891e6',
    500: '#4166da',
    950: '#000000',
  },
}
SCSS
$custom: #4166da;
$custom-light: #8891e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4166da",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 225.49,
    "s": 67.401,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.18255,
    "h": 266.9
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#4166DA
secondary
#DBCC9C
accent
#C13EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4166DA

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

Preview Lab → · Contrast checker → · Palette generator →

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