#4161CF#4161CF

#4161CF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.174 H 267.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4161CF
RGBrgb(65, 97, 207)
HSLhsl(226, 60%, 53%)
HSVhsv(226, 69%, 81%)
CMYKcmyk(68.6%, 53.1%, 0%, 18.8%)
CIE-LABlab(44.48, 24.89, -60.43)
CIE-LCHlch(44.48, 65.35, 292.38°)
OKLaboklab(53.06% -0.0066 -0.1738)
OKLCHoklch(53.06% 0.174 267.8)
XYZxyz(17.7133, 14.1765, 60.8222)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161CF #CFAF41
analogous
#41A8CF #4161CF #6841CF
triadic
#4161CF #CF4161 #61CF41
tetradic
#4161CF #CF41A8 #CFAF41 #41CF68
square
#4161CF #CF41A8 #CFAF41 #41CF68
split-complementary
#4161CF #CF6841 #A8CF41
monochromatic
#1E3277 #2B47A8 #4161CF #728ADB #A3B2E8

Accessibility & contrast

On white

5.48
#4161CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4161CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161CF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161CF#FFFFFF#000000##FFFFFF
##4161CF1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4161cf;
/* rgb */ color: rgb(65, 97, 207);
/* oklch */ color: oklch(53.1% 0.174 267.8);
Tailwind
colors: {
  custom: {
    50: '#868dde',
    500: '#4161cf',
    950: '#000000',
  },
}
SCSS
$custom: #4161cf;
$custom-light: #868dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4161cf",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 226.479,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.17389,
    "h": 267.8
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#4161CF
secondary
#D4C797
accent
#BF45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4161CF

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

Preview Lab → · Contrast checker → · Palette generator →

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