#4252CE#4252CE

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

Color values

HEX#4252CE
RGBrgb(66, 82, 206)
HSLhsl(233, 59%, 53%)
HSVhsv(233, 68%, 81%)
CMYKcmyk(68%, 60.2%, 0%, 19.2%)
CIE-LABlab(40.65, 34.18, -66.08)
CIE-LCHlch(40.65, 74.40, 297.35°)
OKLaboklab(50.19% 0.0066 -0.1905)
OKLCHoklch(50.19% 0.191 272)
XYZxyz(16.4009, 11.6475, 59.7644)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252CE #CEBE42
analogous
#4298CE #4252CE #7842CE
triadic
#4252CE #CE4252 #52CE42
tetradic
#4252CE #CE4298 #CEBE42 #42CE78
square
#4252CE #CE4298 #CEBE42 #42CE78
split-complementary
#4252CE #CE7842 #98CE42
monochromatic
#1F2977 #2B3AA7 #4252CE #737EDB #A3ABE7

Accessibility & contrast

On white

6.31
#4252CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4252CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252CE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252CE#FFFFFF#000000##FFFFFF
##4252CE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4252ce;
/* rgb */ color: rgb(66, 82, 206);
/* oklch */ color: oklch(50.2% 0.191 272.0);
Tailwind
colors: {
  custom: {
    50: '#8782de',
    500: '#4252ce',
    950: '#000000',
  },
}
SCSS
$custom: #4252ce;
$custom-light: #8782de;
$custom-dark: #000000;
JSON
{
  "hex": "#4252ce",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 233.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.19065,
    "h": 272
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#4252CE
secondary
#D4CD98
accent
#D046E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4252CE

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

Preview Lab → · Contrast checker → · Palette generator →

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