#4252A4#4252A4

#4252A4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.133 H 272.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4252A4
RGBrgb(66, 82, 164)
HSLhsl(230, 43%, 45%)
HSVhsv(230, 60%, 64%)
CMYKcmyk(59.8%, 50%, 0%, 35.7%)
CIE-LABlab(37.61, 19.49, -46.36)
CIE-LCHlch(37.61, 50.29, 292.80°)
OKLaboklab(46.95% 0.0048 -0.1325)
OKLCHoklch(46.95% 0.133 272.1)
XYZxyz(11.9627, 9.8722, 36.3899)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252A4 #A49442
analogous
#4283A4 #4252A4 #6342A4
triadic
#4252A4 #A44252 #52A442
tetradic
#4252A4 #A44283 #A49442 #42A463
square
#4252A4 #A44283 #A49442 #42A463
split-complementary
#4252A4 #A46342 #83A442
monochromatic
#1F264D #303C78 #4252A4 #6372C0 #8F9AD2

Accessibility & contrast

On white

7.06
#4252A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4252A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4252A4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252A4#FFFFFF#000000##FFFFFF
##4252A41.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA7
Deuteranopia (green-blind)
#1654A2
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4252a4;
/* rgb */ color: rgb(66, 82, 164);
/* oklch */ color: oklch(46.9% 0.133 272.1);
Tailwind
colors: {
  custom: {
    50: '#7f82bf',
    500: '#4252a4',
    950: '#000000',
  },
}
SCSS
$custom: #4252a4;
$custom-light: #7f82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4252a4",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 230.204,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.13263,
    "h": 272.1
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#4252A4
secondary
#BDB485
accent
#BE55D2
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4252A4

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

Preview Lab → · Contrast checker → · Palette generator →

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