#4152CE#4152CE

#4152CE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.191 H 271.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4152CE
RGBrgb(65, 82, 206)
HSLhsl(233, 59%, 53%)
HSVhsv(233, 68%, 81%)
CMYKcmyk(68.4%, 60.2%, 0%, 19.2%)
CIE-LABlab(40.59, 34.04, -66.17)
CIE-LCHlch(40.59, 74.42, 297.22°)
OKLaboklab(50.13% 0.0055 -0.1908)
OKLCHoklch(50.13% 0.191 271.7)
XYZxyz(16.3341, 11.6131, 59.7613)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152CE #CEBD41
analogous
#4198CE #4152CE #7641CE
triadic
#4152CE #CE4152 #52CE41
tetradic
#4152CE #CE4198 #CEBD41 #41CE76
square
#4152CE #CE4198 #CEBD41 #41CE76
split-complementary
#4152CE #CE7641 #98CE41
monochromatic
#1E2976 #2B3AA7 #4152CE #727EDB #A2ABE7

Accessibility & contrast

On white

6.32
#4152CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4152CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152CE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152CE#FFFFFF#000000##FFFFFF
##4152CE1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4152ce;
/* rgb */ color: rgb(65, 82, 206);
/* oklch */ color: oklch(50.1% 0.191 271.7);
Tailwind
colors: {
  custom: {
    50: '#8782de',
    500: '#4152ce',
    950: '#000000',
  },
}
SCSS
$custom: #4152ce;
$custom-light: #8782de;
$custom-dark: #000000;
JSON
{
  "hex": "#4152ce",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 232.766,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.19092,
    "h": 271.7
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#4152CE
secondary
#D4CC97
accent
#CF46E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4152CE

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

Preview Lab → · Contrast checker → · Palette generator →

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