#4251D8#4251D8

#4251D8 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.9% C 0.205 H 272.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4251D8
RGBrgb(66, 81, 216)
HSLhsl(234, 66%, 55%)
HSVhsv(234, 69%, 85%)
CMYKcmyk(69.4%, 62.5%, 0%, 15.3%)
CIE-LABlab(41.22, 38.26, -70.91)
CIE-LCHlch(41.22, 80.57, 298.35°)
OKLaboklab(50.85% 0.007 -0.2047)
OKLCHoklch(50.85% 0.205 272)
XYZxyz(17.5797, 11.9993, 66.3421)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251D8 #D8C942
analogous
#429CD8 #4251D8 #7E42D8
triadic
#4251D8 #D84251 #51D842
tetradic
#4251D8 #D8429C #D8C942 #42D87E
square
#4251D8 #D8429C #D8C942 #42D87E
split-complementary
#4251D8 #D87E42 #9CD842
monochromatic
#1B2684 #2634B7 #4251D8 #7580E2 #A7AEED

Accessibility & contrast

On white

6.18
#4251D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4251D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4251D8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4251D8#FFFFFF#000000##FFFFFF
##4251D81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4251d8;
/* rgb */ color: rgb(66, 81, 216);
/* oklch */ color: oklch(50.9% 0.205 272.0);
Tailwind
colors: {
  custom: {
    50: '#8982e5',
    500: '#4251d8',
    950: '#000000',
  },
}
SCSS
$custom: #4251d8;
$custom-light: #8982e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4251d8",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 234,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.20483,
    "h": 272
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#4251D8
secondary
#DAD49C
accent
#D83FE9
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4251D8

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

Preview Lab → · Contrast checker → · Palette generator →

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