#4254D8#4254D8

#4254D8 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.4% C 0.201 H 271.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4254D8
RGBrgb(66, 84, 216)
HSLhsl(233, 66%, 55%)
HSVhsv(233, 69%, 85%)
CMYKcmyk(69.4%, 61.1%, 0%, 15.3%)
CIE-LABlab(41.93, 36.41, -69.74)
CIE-LCHlch(41.93, 78.67, 297.57°)
OKLaboklab(51.38% 0.0048 -0.2013)
OKLCHoklch(51.38% 0.201 271.4)
XYZxyz(17.8076, 12.4550, 66.4180)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254D8 #D8C642
analogous
#429FD8 #4254D8 #7B42D8
triadic
#4254D8 #D84254 #54D842
tetradic
#4254D8 #D8429F #D8C642 #42D87B
square
#4254D8 #D8429F #D8C642 #42D87B
split-complementary
#4254D8 #D87B42 #9FD842
monochromatic
#1B2884 #2637B7 #4254D8 #7582E2 #A7B0ED

Accessibility & contrast

On white

6.01
#4254D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4254D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254D8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254D8#FFFFFF#000000##FFFFFF
##4254D81.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4254d8;
/* rgb */ color: rgb(66, 84, 216);
/* oklch */ color: oklch(51.4% 0.201 271.4);
Tailwind
colors: {
  custom: {
    50: '#8984e5',
    500: '#4254d8',
    950: '#000000',
  },
}
SCSS
$custom: #4254d8;
$custom-light: #8984e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4254d8",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 232.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.20131,
    "h": 271.4
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#4254D8
secondary
#DAD39C
accent
#D43FE9
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4254D8

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

Preview Lab → · Contrast checker → · Palette generator →

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