#4161C7#4161C7

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

Color values

HEX#4161C7
RGBrgb(65, 97, 199)
HSLhsl(226, 54%, 52%)
HSVhsv(226, 67%, 78%)
CMYKcmyk(67.3%, 51.3%, 0%, 22%)
CIE-LABlab(43.94, 22.03, -56.71)
CIE-LCHlch(43.94, 60.84, 291.23°)
OKLaboklab(52.47% -0.0073 -0.1628)
OKLCHoklch(52.47% 0.163 267.4)
XYZxyz(16.7599, 13.7951, 55.8012)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161C7 #C7A741
analogous
#41A4C7 #4161C7 #6441C7
triadic
#4161C7 #C74161 #61C741
tetradic
#4161C7 #C741A4 #C7A741 #41C764
square
#4161C7 #C741A4 #C7A741 #41C764
split-complementary
#4161C7 #C76441 #A4C741
monochromatic
#20336D #2E499D #4161C7 #7088D5 #A0B0E3

Accessibility & contrast

On white

5.59
#4161C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4161C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161C7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161C7#FFFFFF#000000##FFFFFF
##4161C71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236ECB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4161c7;
/* rgb */ color: rgb(65, 97, 199);
/* oklch */ color: oklch(52.5% 0.163 267.4);
Tailwind
colors: {
  custom: {
    50: '#848dd9',
    500: '#4161c7',
    950: '#000000',
  },
}
SCSS
$custom: #4161c7;
$custom-light: #848dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4161c7",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 199
  },
  "hsl": {
    "h": 225.672,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.16297,
    "h": 267.4
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#4161C7
secondary
#CFC195
accent
#BB4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4161C7

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

Preview Lab → · Contrast checker → · Palette generator →

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