#4252CB#4252CB

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

Color values

HEX#4252CB
RGBrgb(66, 82, 203)
HSLhsl(233, 57%, 53%)
HSVhsv(233, 67%, 80%)
CMYKcmyk(67.5%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.42, 33.14, -64.73)
CIE-LCHlch(40.42, 72.72, 297.11°)
OKLaboklab(49.94% 0.0066 -0.1866)
OKLCHoklch(49.94% 0.187 272)
XYZxyz(16.0399, 11.5031, 57.8634)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252CB #CBBB42
analogous
#4296CB #4252CB #7742CB
triadic
#4252CB #CB4252 #52CB42
tetradic
#4252CB #CB4296 #CBBB42 #42CB77
square
#4252CB #CB4296 #CBBB42 #42CB77
split-complementary
#4252CB #CB7742 #96CB42
monochromatic
#202973 #2D3BA3 #4252CB #727ED8 #A2AAE5

Accessibility & contrast

On white

6.36
#4252CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4252CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252CB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252CB#FFFFFF#000000##FFFFFF
##4252CB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4252cb;
/* rgb */ color: rgb(66, 82, 203);
/* oklch */ color: oklch(49.9% 0.187 272.0);
Tailwind
colors: {
  custom: {
    50: '#8782dc',
    500: '#4252cb',
    950: '#000000',
  },
}
SCSS
$custom: #4252cb;
$custom-light: #8782dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4252cb",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 232.993,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.18669,
    "h": 272
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#4252CB
secondary
#D2CB97
accent
#CE48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4252CB

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

Preview Lab → · Contrast checker → · Palette generator →

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