#4161CB#4161CB

#4161CB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.8% C 0.168 H 267.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4161CB
RGBrgb(65, 97, 203)
HSLhsl(226, 57%, 53%)
HSVhsv(226, 68%, 80%)
CMYKcmyk(68%, 52.2%, 0%, 20.4%)
CIE-LABlab(44.21, 23.46, -58.58)
CIE-LCHlch(44.21, 63.10, 291.82°)
OKLaboklab(52.76% -0.0069 -0.1683)
OKLCHoklch(52.76% 0.168 267.6)
XYZxyz(17.2304, 13.9833, 58.2793)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161CB #CBAB41
analogous
#41A6CB #4161CB #6641CB
triadic
#4161CB #CB4161 #61CB41
tetradic
#4161CB #CB41A6 #CBAB41 #41CB66
square
#4161CB #CB41A6 #CBAB41 #41CB66
split-complementary
#4161CB #CB6641 #A6CB41
monochromatic
#1F3372 #2C48A2 #4161CB #7189D8 #A1B1E5

Accessibility & contrast

On white

5.53
#4161CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4161CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161CB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161CB#FFFFFF#000000##FFFFFF
##4161CB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4161cb;
/* rgb */ color: rgb(65, 97, 203);
/* oklch */ color: oklch(52.8% 0.168 267.6);
Tailwind
colors: {
  custom: {
    50: '#858ddb',
    500: '#4161cb',
    950: '#000000',
  },
}
SCSS
$custom: #4161cb;
$custom-light: #858ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4161cb",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 226.087,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.16845,
    "h": 267.6
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#4161CB
secondary
#D2C496
accent
#BD48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4161CB

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

Preview Lab → · Contrast checker → · Palette generator →

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