#4151C9#4151C9

#4151C9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.186 H 272.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4151C9
RGBrgb(65, 81, 201)
HSLhsl(233, 56%, 52%)
HSVhsv(233, 68%, 79%)
CMYKcmyk(67.7%, 59.7%, 0%, 21.2%)
CIE-LABlab(39.96, 32.93, -64.32)
CIE-LCHlch(39.96, 72.26, 297.11°)
OKLaboklab(49.53% 0.0064 -0.1854)
OKLCHoklch(49.53% 0.186 272)
XYZxyz(15.6615, 11.2243, 56.5882)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151C9 #C9B941
analogous
#4195C9 #4151C9 #7541C9
triadic
#4151C9 #C94151 #51C941
tetradic
#4151C9 #C94195 #C9B941 #41C975
square
#4151C9 #C94195 #C9B941 #41C975
split-complementary
#4151C9 #C97541 #95C941
monochromatic
#202970 #2D3B9F #4151C9 #717DD7 #A0A8E4

Accessibility & contrast

On white

6.47
#4151C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4151C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151C9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151C9#FFFFFF#000000##FFFFFF
##4151C91.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4151c9;
/* rgb */ color: rgb(65, 81, 201);
/* oklch */ color: oklch(49.5% 0.186 272.0);
Tailwind
colors: {
  custom: {
    50: '#8681da',
    500: '#4151c9',
    950: '#000000',
  },
}
SCSS
$custom: #4151c9;
$custom-light: #8681da;
$custom-dark: #000000;
JSON
{
  "hex": "#4151c9",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 201
  },
  "hsl": {
    "h": 232.941,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49533,
    "c": 0.18552,
    "h": 272
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#4151C9
secondary
#D1CA95
accent
#CD49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4151C9

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

Preview Lab → · Contrast checker → · Palette generator →

#4151C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva