#4252CD#4252CD

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

Color values

HEX#4252CD
RGBrgb(66, 82, 205)
HSLhsl(233, 58%, 53%)
HSVhsv(233, 68%, 80%)
CMYKcmyk(67.8%, 60%, 0%, 19.6%)
CIE-LABlab(40.57, 33.83, -65.63)
CIE-LCHlch(40.57, 73.84, 297.27°)
OKLaboklab(50.1% 0.0066 -0.1892)
OKLCHoklch(50.1% 0.189 272)
XYZxyz(16.2798, 11.5991, 59.1267)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252CD #CDBD42
analogous
#4297CD #4252CD #7842CD
triadic
#4252CD #CD4252 #52CD42
tetradic
#4252CD #CD4297 #CDBD42 #42CD78
square
#4252CD #CD4297 #CDBD42 #42CD78
split-complementary
#4252CD #CD7842 #97CD42
monochromatic
#1F2976 #2C3AA6 #4252CD #727EDA #A3ABE7

Accessibility & contrast

On white

6.32
#4252CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4252CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252CD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252CD#FFFFFF#000000##FFFFFF
##4252CD1.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)
#0066D1
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4252cd;
/* rgb */ color: rgb(66, 82, 205);
/* oklch */ color: oklch(50.1% 0.189 272.0);
Tailwind
colors: {
  custom: {
    50: '#8782dd',
    500: '#4252cd',
    950: '#000000',
  },
}
SCSS
$custom: #4252cd;
$custom-light: #8782dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4252cd",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 233.094,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.18933,
    "h": 272
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#4252CD
secondary
#D3CC97
accent
#D046E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4252CD

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

Preview Lab → · Contrast checker → · Palette generator →

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