#4161CA#4161CA

#4161CA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.167 H 267.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4161CA
RGBrgb(65, 97, 202)
HSLhsl(226, 56%, 52%)
HSVhsv(226, 68%, 79%)
CMYKcmyk(67.8%, 52%, 0%, 20.8%)
CIE-LABlab(44.14, 23.10, -58.11)
CIE-LCHlch(44.14, 62.54, 291.68°)
OKLaboklab(52.69% -0.007 -0.1669)
OKLCHoklch(52.69% 0.167 267.6)
XYZxyz(17.1117, 13.9358, 57.6538)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161CA #CAAA41
analogous
#41A6CA #4161CA #6541CA
triadic
#4161CA #CA4161 #61CA41
tetradic
#4161CA #CA41A6 #CAAA41 #41CA65
square
#4161CA #CA41A6 #CAAA41 #41CA65
split-complementary
#4161CA #CA6541 #A6CA41
monochromatic
#203371 #2D48A1 #4161CA #7189D7 #A1B1E5

Accessibility & contrast

On white

5.54
#4161CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4161CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161CA#FFFFFF#000000##FFFFFF
##4161CA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4161ca;
/* rgb */ color: rgb(65, 97, 202);
/* oklch */ color: oklch(52.7% 0.167 267.6);
Tailwind
colors: {
  custom: {
    50: '#858ddb',
    500: '#4161ca',
    950: '#000000',
  },
}
SCSS
$custom: #4161ca;
$custom-light: #858ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4161ca",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 225.985,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.16709,
    "h": 267.6
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#4161CA
secondary
#D1C396
accent
#BC48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4161CA

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

Preview Lab → · Contrast checker → · Palette generator →

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