#4254CE#4254CE

#4254CE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.188 H 271.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4254CE
RGBrgb(66, 84, 206)
HSLhsl(232, 59%, 53%)
HSVhsv(232, 68%, 81%)
CMYKcmyk(68%, 59.2%, 0%, 19.2%)
CIE-LABlab(41.14, 32.92, -65.28)
CIE-LCHlch(41.14, 73.11, 296.76°)
OKLaboklab(50.55% 0.005 -0.1882)
OKLCHoklch(50.55% 0.188 271.5)
XYZxyz(16.5539, 11.9536, 59.8154)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254CE #CEBC42
analogous
#429ACE #4254CE #7642CE
triadic
#4254CE #CE4254 #54CE42
tetradic
#4254CE #CE429A #CEBC42 #42CE76
square
#4254CE #CE429A #CEBC42 #42CE76
split-complementary
#4254CE #CE7642 #9ACE42
monochromatic
#1F2A77 #2B3BA7 #4254CE #7380DB #A3ACE7

Accessibility & contrast

On white

6.19
#4254CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4254CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254CE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254CE#FFFFFF#000000##FFFFFF
##4254CE1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4254ce;
/* rgb */ color: rgb(66, 84, 206);
/* oklch */ color: oklch(50.5% 0.188 271.5);
Tailwind
colors: {
  custom: {
    50: '#8784de',
    500: '#4254ce',
    950: '#000000',
  },
}
SCSS
$custom: #4254ce;
$custom-light: #8784de;
$custom-dark: #000000;
JSON
{
  "hex": "#4254ce",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 232.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.18823,
    "h": 271.5
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#4254CE
secondary
#D4CC98
accent
#CE46E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4254CE

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

Preview Lab → · Contrast checker → · Palette generator →

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