#4151CE#4151CE

#4151CE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.192 H 271.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4151CE
RGBrgb(65, 81, 206)
HSLhsl(233, 59%, 53%)
HSVhsv(233, 68%, 81%)
CMYKcmyk(68.4%, 60.7%, 0%, 19.2%)
CIE-LABlab(40.35, 34.67, -66.57)
CIE-LCHlch(40.35, 75.06, 297.51°)
OKLaboklab(49.95% 0.0063 -0.192)
OKLCHoklch(49.95% 0.192 271.9)
XYZxyz(16.2592, 11.4634, 59.7363)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151CE #CEBE41
analogous
#4198CE #4151CE #7741CE
triadic
#4151CE #CE4151 #51CE41
tetradic
#4151CE #CE4198 #CEBE41 #41CE77
square
#4151CE #CE4198 #CEBE41 #41CE77
split-complementary
#4151CE #CE7741 #98CE41
monochromatic
#1E2876 #2B39A7 #4151CE #727EDB #A2AAE7

Accessibility & contrast

On white

6.38
#4151CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4151CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151CE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151CE#FFFFFF#000000##FFFFFF
##4151CE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4151ce;
/* rgb */ color: rgb(65, 81, 206);
/* oklch */ color: oklch(49.9% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#8781de',
    500: '#4151ce',
    950: '#000000',
  },
}
SCSS
$custom: #4151ce;
$custom-light: #8781de;
$custom-dark: #000000;
JSON
{
  "hex": "#4151ce",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 233.191,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.19211,
    "h": 271.9
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#4151CE
secondary
#D4CD97
accent
#D046E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4151CE

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

Preview Lab → · Contrast checker → · Palette generator →

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