#4152C4#4152C4

#4152C4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.178 H 271.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4152C4
RGBrgb(65, 82, 196)
HSLhsl(232, 53%, 51%)
HSVhsv(232, 67%, 77%)
CMYKcmyk(66.8%, 58.2%, 0%, 23.1%)
CIE-LABlab(39.82, 30.54, -61.64)
CIE-LCHlch(39.82, 68.80, 296.36°)
OKLaboklab(49.31% 0.0055 -0.1775)
OKLCHoklch(49.31% 0.178 271.8)
XYZxyz(15.1577, 11.1425, 53.5658)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152C4 #C4B341
analogous
#4193C4 #4152C4 #7141C4
triadic
#4152C4 #C44152 #52C441
tetradic
#4152C4 #C44193 #C4B341 #41C471
square
#4152C4 #C44193 #C4B341 #41C471
split-complementary
#4152C4 #C47141 #93C441
monochromatic
#212A6A #2F3D98 #4152C4 #707DD3 #9EA7E1

Accessibility & contrast

On white

6.50
#4152C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4152C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152C4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152C4#FFFFFF#000000##FFFFFF
##4152C41.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4152c4;
/* rgb */ color: rgb(65, 82, 196);
/* oklch */ color: oklch(49.3% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#8582d7',
    500: '#4152c4',
    950: '#000000',
  },
}
SCSS
$custom: #4152c4;
$custom-light: #8582d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4152c4",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 232.214,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.17762,
    "h": 271.8
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#4152C4
secondary
#CDC693
accent
#C94CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4152C4

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

Preview Lab → · Contrast checker → · Palette generator →

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