#4161C5#4161C5

#4161C5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.3% C 0.160 H 267.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4161C5
RGBrgb(65, 97, 197)
HSLhsl(225, 53%, 51%)
HSVhsv(225, 67%, 77%)
CMYKcmyk(67%, 50.8%, 0%, 22.7%)
CIE-LABlab(43.80, 21.31, -55.77)
CIE-LCHlch(43.80, 59.70, 290.92°)
OKLaboklab(52.33% -0.0075 -0.16)
OKLCHoklch(52.33% 0.16 267.3)
XYZxyz(16.5292, 13.7028, 54.5863)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161C5 #C5A541
analogous
#41A3C5 #4161C5 #6341C5
triadic
#4161C5 #C54161 #61C541
tetradic
#4161C5 #C541A3 #C5A541 #41C563
square
#4161C5 #C541A3 #C5A541 #41C563
split-complementary
#4161C5 #C56341 #A3C541
monochromatic
#21336B #2F499A #4161C5 #7088D3 #9FAFE2

Accessibility & contrast

On white

5.61
#4161C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4161C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161C5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161C5#FFFFFF#000000##FFFFFF
##4161C51.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)
#266EC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4161c5;
/* rgb */ color: rgb(65, 97, 197);
/* oklch */ color: oklch(52.3% 0.160 267.3);
Tailwind
colors: {
  custom: {
    50: '#848dd7',
    500: '#4161c5',
    950: '#000000',
  },
}
SCSS
$custom: #4161c5;
$custom-light: #848dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4161c5",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 197
  },
  "hsl": {
    "h": 225.455,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52329,
    "c": 0.16023,
    "h": 267.3
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#4161C5
secondary
#CEC094
accent
#B94BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4161C5

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

Preview Lab → · Contrast checker → · Palette generator →

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