#4254C5#4254C5

#4254C5 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.176 H 271.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4254C5
RGBrgb(66, 84, 197)
HSLhsl(232, 53%, 52%)
HSVhsv(232, 66%, 77%)
CMYKcmyk(66.5%, 57.4%, 0%, 22.7%)
CIE-LABlab(40.46, 29.77, -61.19)
CIE-LCHlch(40.46, 68.05, 295.95°)
OKLaboklab(49.83% 0.0049 -0.1761)
OKLCHoklch(49.83% 0.176 271.6)
XYZxyz(15.4917, 11.5287, 54.2214)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254C5 #C5B342
analogous
#4296C5 #4254C5 #7242C5
triadic
#4254C5 #C54254 #54C542
tetradic
#4254C5 #C54296 #C5B342 #42C572
square
#4254C5 #C54296 #C5B342 #42C572
split-complementary
#4254C5 #C57242 #96C542
monochromatic
#212B6C #2F3E9A #4254C5 #717ED3 #A0A9E2

Accessibility & contrast

On white

6.35
#4254C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4254C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254C5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254C5#FFFFFF#000000##FFFFFF
##4254C51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4254c5;
/* rgb */ color: rgb(66, 84, 197);
/* oklch */ color: oklch(49.8% 0.176 271.6);
Tailwind
colors: {
  custom: {
    50: '#8584d7',
    500: '#4254c5',
    950: '#000000',
  },
}
SCSS
$custom: #4254c5;
$custom-light: #8584d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4254c5",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 231.756,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49825,
    "c": 0.1762,
    "h": 271.6
  },
  "luminance": 0.1153
}

Semantic roles & 50–950 ramp

primary
#4254C5
secondary
#CEC695
accent
#C94BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4254C5

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

Preview Lab → · Contrast checker → · Palette generator →

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