#4252C8#4252C8

#4252C8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.183 H 272.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4252C8
RGBrgb(66, 82, 200)
HSLhsl(233, 55%, 52%)
HSVhsv(233, 67%, 78%)
CMYKcmyk(67%, 59%, 0%, 21.6%)
CIE-LABlab(40.18, 32.09, -63.37)
CIE-LCHlch(40.18, 71.03, 296.86°)
OKLaboklab(49.69% 0.0066 -0.1826)
OKLCHoklch(49.69% 0.183 272.1)
XYZxyz(15.6859, 11.3615, 55.9987)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252C8 #C8B842
analogous
#4295C8 #4252C8 #7542C8
triadic
#4252C8 #C84252 #52C842
tetradic
#4252C8 #C84295 #C8B842 #42C875
square
#4252C8 #C84295 #C8B842 #42C875
split-complementary
#4252C8 #C87542 #95C842
monochromatic
#202A6F #2E3C9F #4252C8 #717DD6 #A1A9E4

Accessibility & contrast

On white

6.42
#4252C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4252C8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252C8#FFFFFF#000000##FFFFFF
##4252C81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.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: #4252c8;
/* rgb */ color: rgb(66, 82, 200);
/* oklch */ color: oklch(49.7% 0.183 272.1);
Tailwind
colors: {
  custom: {
    50: '#8682da',
    500: '#4252c8',
    950: '#000000',
  },
}
SCSS
$custom: #4252c8;
$custom-light: #8682da;
$custom-dark: #000000;
JSON
{
  "hex": "#4252c8",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 232.836,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.1827,
    "h": 272.1
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#4252C8
secondary
#D0C996
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4252C8

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

Preview Lab → · Contrast checker → · Palette generator →

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