#4152C1#4152C1

#4152C1 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.174 H 271.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4152C1
RGBrgb(65, 82, 193)
HSLhsl(232, 51%, 51%)
HSVhsv(232, 66%, 76%)
CMYKcmyk(66.3%, 57.5%, 0%, 24.3%)
CIE-LABlab(39.59, 29.49, -60.27)
CIE-LCHlch(39.59, 67.09, 296.07°)
OKLaboklab(49.07% 0.0055 -0.1735)
OKLCHoklch(49.07% 0.174 271.8)
XYZxyz(14.8197, 11.0073, 51.7854)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152C1 #C1B041
analogous
#4192C1 #4152C1 #7041C1
triadic
#4152C1 #C14152 #52C141
tetradic
#4152C1 #C14192 #C1B041 #41C170
square
#4152C1 #C14192 #C1B041 #41C170
split-complementary
#4152C1 #C17041 #92C141
monochromatic
#212B66 #303E94 #4152C1 #6F7CD0 #9DA6DF

Accessibility & contrast

On white

6.56
#4152C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4152C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152C1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152C1#FFFFFF#000000##FFFFFF
##4152C11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4152c1;
/* rgb */ color: rgb(65, 82, 193);
/* oklch */ color: oklch(49.1% 0.174 271.8);
Tailwind
colors: {
  custom: {
    50: '#8482d5',
    500: '#4152c1',
    950: '#000000',
  },
}
SCSS
$custom: #4152c1;
$custom-light: #8482d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4152c1",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 232.031,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.17356,
    "h": 271.8
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#4152C1
secondary
#CBC492
accent
#C84EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4152C1

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

Preview Lab → · Contrast checker → · Palette generator →

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