#4161DC#4161DC

#4161DC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.191 H 268.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4161DC
RGBrgb(65, 97, 220)
HSLhsl(228, 69%, 56%)
HSVhsv(228, 70%, 86%)
CMYKcmyk(70.5%, 55.9%, 0%, 13.7%)
CIE-LABlab(45.41, 29.52, -66.35)
CIE-LCHlch(45.41, 72.62, 293.99°)
OKLaboklab(54.05% -0.0059 -0.1912)
OKLCHoklch(54.05% 0.191 268.2)
XYZxyz(19.3685, 14.8385, 69.5396)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161DC #DCBC41
analogous
#41AEDC #4161DC #6E41DC
triadic
#4161DC #DC4161 #61DC41
tetradic
#4161DC #DC41AE #DCBC41 #41DC6E
square
#4161DC #DC41AE #DCBC41 #41DC6E
split-complementary
#4161DC #DC6E41 #AEDC41
monochromatic
#193089 #2343BD #4161DC #758CE6 #A8B7EF

Accessibility & contrast

On white

5.29
#4161DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4161DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161DC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161DC#FFFFFF#000000##FFFFFF
##4161DC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4161dc;
/* rgb */ color: rgb(65, 97, 220);
/* oklch */ color: oklch(54.1% 0.191 268.2);
Tailwind
colors: {
  custom: {
    50: '#898de8',
    500: '#4161dc',
    950: '#000000',
  },
}
SCSS
$custom: #4161dc;
$custom-light: #898de8;
$custom-dark: #000000;
JSON
{
  "hex": "#4161dc",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 227.613,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54052,
    "c": 0.19127,
    "h": 268.2
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#4161DC
secondary
#DDCF9C
accent
#C73CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4161DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4161DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva