#4161C8#4161C8

#4161C8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.164 H 267.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4161C8
RGBrgb(65, 97, 200)
HSLhsl(226, 55%, 52%)
HSVhsv(226, 68%, 78%)
CMYKcmyk(67.5%, 51.5%, 0%, 21.6%)
CIE-LABlab(44.01, 22.39, -57.18)
CIE-LCHlch(44.01, 61.40, 291.38°)
OKLaboklab(52.55% -0.0072 -0.1642)
OKLCHoklch(52.55% 0.164 267.5)
XYZxyz(16.8764, 13.8417, 56.4147)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161C8 #C8A841
analogous
#41A4C8 #4161C8 #6541C8
triadic
#4161C8 #C84161 #61C841
tetradic
#4161C8 #C841A4 #C8A841 #41C865
square
#4161C8 #C841A4 #C8A841 #41C865
split-complementary
#4161C8 #C86541 #A4C841
monochromatic
#20336F #2E489E #4161C8 #7088D6 #A0B0E3

Accessibility & contrast

On white

5.57
#4161C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4161C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161C8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161C8#FFFFFF#000000##FFFFFF
##4161C81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216ECC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4161c8;
/* rgb */ color: rgb(65, 97, 200);
/* oklch */ color: oklch(52.5% 0.164 267.5);
Tailwind
colors: {
  custom: {
    50: '#858dd9',
    500: '#4161c8',
    950: '#000000',
  },
}
SCSS
$custom: #4161c8;
$custom-light: #858dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4161c8",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 225.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.16435,
    "h": 267.5
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#4161C8
secondary
#D0C295
accent
#BB49DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4161C8

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

Preview Lab → · Contrast checker → · Palette generator →

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