#4252CA#4252CA

#4252CA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.185 H 272.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4252CA
RGBrgb(66, 82, 202)
HSLhsl(233, 56%, 53%)
HSVhsv(233, 67%, 79%)
CMYKcmyk(67.3%, 59.4%, 0%, 20.8%)
CIE-LABlab(40.34, 32.79, -64.28)
CIE-LCHlch(40.34, 72.16, 297.03°)
OKLaboklab(49.86% 0.0066 -0.1852)
OKLCHoklch(49.86% 0.185 272)
XYZxyz(15.9211, 11.4556, 57.2378)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252CA #CABA42
analogous
#4296CA #4252CA #7642CA
triadic
#4252CA #CA4252 #52CA42
tetradic
#4252CA #CA4296 #CABA42 #42CA76
square
#4252CA #CA4296 #CABA42 #42CA76
split-complementary
#4252CA #CA7642 #96CA42
monochromatic
#202A72 #2D3BA2 #4252CA #727ED7 #A2AAE5

Accessibility & contrast

On white

6.38
#4252CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4252CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252CA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252CA#FFFFFF#000000##FFFFFF
##4252CA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4252ca;
/* rgb */ color: rgb(66, 82, 202);
/* oklch */ color: oklch(49.9% 0.185 272.0);
Tailwind
colors: {
  custom: {
    50: '#8682db',
    500: '#4252ca',
    950: '#000000',
  },
}
SCSS
$custom: #4252ca;
$custom-light: #8682db;
$custom-dark: #000000;
JSON
{
  "hex": "#4252ca",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 232.941,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.18537,
    "h": 272
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#4252CA
secondary
#D1CA96
accent
#CE48DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4252CA

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

Preview Lab → · Contrast checker → · Palette generator →

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