#4161C2#4161C2

#4161C2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.156 H 267.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4161C2
RGBrgb(65, 97, 194)
HSLhsl(225, 51%, 51%)
HSVhsv(225, 66%, 76%)
CMYKcmyk(66.5%, 50%, 0%, 23.9%)
CIE-LABlab(43.60, 20.24, -54.36)
CIE-LCHlch(43.60, 58.00, 290.42°)
OKLaboklab(52.12% -0.0078 -0.1559)
OKLCHoklch(52.12% 0.156 267.1)
XYZxyz(16.1889, 13.5667, 52.7940)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161C2 #C2A241
analogous
#41A1C2 #4161C2 #6141C2
triadic
#4161C2 #C24161 #61C241
tetradic
#4161C2 #C241A1 #C2A241 #41C261
square
#4161C2 #C241A1 #C2A241 #41C261
split-complementary
#4161C2 #C26141 #A1C241
monochromatic
#213367 #304996 #4161C2 #6F88D1 #9EAEE0

Accessibility & contrast

On white

5.65
#4161C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4161C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161C2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161C2#FFFFFF#000000##FFFFFF
##4161C21.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4161c2;
/* rgb */ color: rgb(65, 97, 194);
/* oklch */ color: oklch(52.1% 0.156 267.1);
Tailwind
colors: {
  custom: {
    50: '#838dd5',
    500: '#4161c2',
    950: '#000000',
  },
}
SCSS
$custom: #4161c2;
$custom-light: #838dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4161c2",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 194
  },
  "hsl": {
    "h": 225.116,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.15608,
    "h": 267.1
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#4161C2
secondary
#CCBE93
accent
#B84DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4161C2

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

Preview Lab → · Contrast checker → · Palette generator →

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