#4251CE#4251CE

#4251CE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.192 H 272.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4251CE
RGBrgb(66, 81, 206)
HSLhsl(234, 59%, 53%)
HSVhsv(234, 68%, 81%)
CMYKcmyk(68%, 60.7%, 0%, 19.2%)
CIE-LABlab(40.41, 34.81, -66.48)
CIE-LCHlch(40.41, 75.04, 297.64°)
OKLaboklab(50.01% 0.0073 -0.1917)
OKLCHoklch(50.01% 0.192 272.2)
XYZxyz(16.3260, 11.4978, 59.7395)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251CE #CEBF42
analogous
#4297CE #4251CE #7942CE
triadic
#4251CE #CE4251 #51CE42
tetradic
#4251CE #CE4297 #CEBF42 #42CE79
square
#4251CE #CE4297 #CEBF42 #42CE79
split-complementary
#4251CE #CE7942 #97CE42
monochromatic
#1F2877 #2B39A7 #4251CE #737EDB #A3AAE7

Accessibility & contrast

On white

6.36
#4251CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4251CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4251CE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4251CE#FFFFFF#000000##FFFFFF
##4251CE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4251ce;
/* rgb */ color: rgb(66, 81, 206);
/* oklch */ color: oklch(50.0% 0.192 272.2);
Tailwind
colors: {
  custom: {
    50: '#8781de',
    500: '#4251ce',
    950: '#000000',
  },
}
SCSS
$custom: #4251ce;
$custom-light: #8781de;
$custom-dark: #000000;
JSON
{
  "hex": "#4251ce",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 233.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.19185,
    "h": 272.2
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#4251CE
secondary
#D4CE98
accent
#D146E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4251CE

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

Preview Lab → · Contrast checker → · Palette generator →

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