#4254C4#4254C4

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

Color values

HEX#4254C4
RGBrgb(66, 84, 196)
HSLhsl(232, 52%, 51%)
HSVhsv(232, 66%, 77%)
CMYKcmyk(66.3%, 57.1%, 0%, 23.1%)
CIE-LABlab(40.38, 29.42, -60.73)
CIE-LCHlch(40.38, 67.48, 295.85°)
OKLaboklab(49.75% 0.0049 -0.1748)
OKLCHoklch(49.75% 0.175 271.6)
XYZxyz(15.3775, 11.4830, 53.6199)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254C4 #C4B242
analogous
#4295C4 #4254C4 #7142C4
triadic
#4254C4 #C44254 #54C442
tetradic
#4254C4 #C44295 #C4B242 #42C471
square
#4254C4 #C44295 #C4B242 #42C471
split-complementary
#4254C4 #C47142 #95C442
monochromatic
#212B6A #303E99 #4254C4 #717ED3 #9FA8E1

Accessibility & contrast

On white

6.37
#4254C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4254C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254C4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254C4#FFFFFF#000000##FFFFFF
##4254C41.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4254c4;
/* rgb */ color: rgb(66, 84, 196);
/* oklch */ color: oklch(49.7% 0.175 271.6);
Tailwind
colors: {
  custom: {
    50: '#8584d7',
    500: '#4254c4',
    950: '#000000',
  },
}
SCSS
$custom: #4254c4;
$custom-light: #8584d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4254c4",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 231.692,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.17485,
    "h": 271.6
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#4254C4
secondary
#CEC694
accent
#C84CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4254C4

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

Preview Lab → · Contrast checker → · Palette generator →

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