#4253C2#4253C2

#4253C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.173 H 271.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4253C2
RGBrgb(66, 83, 194)
HSLhsl(232, 51%, 51%)
HSVhsv(232, 66%, 76%)
CMYKcmyk(66%, 57.2%, 0%, 23.9%)
CIE-LABlab(39.98, 29.36, -60.22)
CIE-LCHlch(39.98, 66.99, 295.99°)
OKLaboklab(49.4% 0.0057 -0.1733)
OKLCHoklch(49.4% 0.173 271.9)
XYZxyz(15.0744, 11.2384, 52.4033)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4253C2 #C2B142
analogous
#4293C2 #4253C2 #7142C2
triadic
#4253C2 #C24253 #53C242
tetradic
#4253C2 #C24293 #C2B142 #42C271
square
#4253C2 #C24293 #C2B142 #42C271
split-complementary
#4253C2 #C27142 #93C242
monochromatic
#222B68 #313E96 #4253C2 #707DD1 #9FA7E0

Accessibility & contrast

On white

6.47
#4253C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4253C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4253C2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4253C2#FFFFFF#000000##FFFFFF
##4253C21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4253c2;
/* rgb */ color: rgb(66, 83, 194);
/* oklch */ color: oklch(49.4% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#8583d5',
    500: '#4253c2',
    950: '#000000',
  },
}
SCSS
$custom: #4253c2;
$custom-light: #8583d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4253c2",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 194
  },
  "hsl": {
    "h": 232.031,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.17339,
    "h": 271.9
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#4253C2
secondary
#CCC594
accent
#C84DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4253C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4253C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva