#4166AF#4166AF

#4166AF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.9% C 0.123 H 262.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4166AF
RGBrgb(65, 102, 175)
HSLhsl(220, 46%, 47%)
HSVhsv(220, 63%, 69%)
CMYKcmyk(62.9%, 41.7%, 0%, 31.4%)
CIE-LABlab(43.83, 10.30, -42.92)
CIE-LCHlch(43.83, 44.14, 283.49°)
OKLaboklab(51.91% -0.0159 -0.1222)
OKLCHoklch(51.91% 0.123 262.6)
XYZxyz(14.6665, 13.7204, 42.4245)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166AF #AF8A41
analogous
#419DAF #4166AF #5341AF
triadic
#4166AF #AF4166 #66AF41
tetradic
#4166AF #AF419D #AF8A41 #41AF53
square
#4166AF #AF419D #AF8A41 #41AF53
split-complementary
#4166AF #AF5341 #9DAF41
monochromatic
#203256 #304C82 #4166AF #6787C6 #93AAD7

Accessibility & contrast

On white

5.61
#4166AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4166AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166AF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166AF#FFFFFF#000000##FFFFFF
##4166AF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4166af;
/* rgb */ color: rgb(65, 102, 175);
/* oklch */ color: oklch(51.9% 0.123 262.6);
Tailwind
colors: {
  custom: {
    50: '#8091c7',
    500: '#4166af',
    950: '#000000',
  },
}
SCSS
$custom: #4166af;
$custom-light: #8091c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4166af",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 219.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.12324,
    "h": 262.6
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#4166AF
secondary
#C2AF89
accent
#A952D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166AF

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

Preview Lab → · Contrast checker → · Palette generator →

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