#4152C8#4152C8

#4152C8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.183 H 271.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4152C8
RGBrgb(65, 82, 200)
HSLhsl(232, 55%, 52%)
HSVhsv(232, 68%, 78%)
CMYKcmyk(67.5%, 59%, 0%, 21.6%)
CIE-LABlab(40.13, 31.95, -63.47)
CIE-LCHlch(40.13, 71.05, 296.72°)
OKLaboklab(49.64% 0.0056 -0.1829)
OKLCHoklch(49.64% 0.183 271.7)
XYZxyz(15.6191, 11.3271, 55.9956)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152C8 #C8B741
analogous
#4196C8 #4152C8 #7341C8
triadic
#4152C8 #C84152 #52C841
tetradic
#4152C8 #C84196 #C8B741 #41C873
square
#4152C8 #C84196 #C8B741 #41C873
split-complementary
#4152C8 #C87341 #96C841
monochromatic
#202A6F #2E3C9E #4152C8 #707DD6 #A0A8E3

Accessibility & contrast

On white

6.43
#4152C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4152C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152C8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152C8#FFFFFF#000000##FFFFFF
##4152C81.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4152c8;
/* rgb */ color: rgb(65, 82, 200);
/* oklch */ color: oklch(49.6% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#8582da',
    500: '#4152c8',
    950: '#000000',
  },
}
SCSS
$custom: #4152c8;
$custom-light: #8582da;
$custom-dark: #000000;
JSON
{
  "hex": "#4152c8",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 232.444,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.18296,
    "h": 271.7
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#4152C8
secondary
#D0C995
accent
#CC49DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4152C8

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

Preview Lab → · Contrast checker → · Palette generator →

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