#4161CE#4161CE

#4161CE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.173 H 267.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4161CE
RGBrgb(65, 97, 206)
HSLhsl(226, 59%, 53%)
HSVhsv(226, 68%, 81%)
CMYKcmyk(68.4%, 52.9%, 0%, 19.2%)
CIE-LABlab(44.42, 24.53, -59.97)
CIE-LCHlch(44.42, 64.79, 292.25°)
OKLaboklab(52.99% -0.0067 -0.1724)
OKLCHoklch(52.99% 0.173 267.8)
XYZxyz(17.5914, 14.1277, 60.1804)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161CE #CEAE41
analogous
#41A7CE #4161CE #6741CE
triadic
#4161CE #CE4161 #61CE41
tetradic
#4161CE #CE41A7 #CEAE41 #41CE67
square
#4161CE #CE41A7 #CEAE41 #41CE67
split-complementary
#4161CE #CE6741 #A7CE41
monochromatic
#1E3276 #2B47A7 #4161CE #7289DB #A2B2E7

Accessibility & contrast

On white

5.49
#4161CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4161CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161CE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161CE#FFFFFF#000000##FFFFFF
##4161CE1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4161ce;
/* rgb */ color: rgb(65, 97, 206);
/* oklch */ color: oklch(53.0% 0.173 267.8);
Tailwind
colors: {
  custom: {
    50: '#868dde',
    500: '#4161ce',
    950: '#000000',
  },
}
SCSS
$custom: #4161ce;
$custom-light: #868dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4161ce",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 226.383,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.17253,
    "h": 267.8
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#4161CE
secondary
#D4C697
accent
#BF46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4161CE

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

Preview Lab → · Contrast checker → · Palette generator →

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