#4257CE#4257CE

#4257CE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.185 H 270.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4257CE
RGBrgb(66, 87, 206)
HSLhsl(231, 59%, 53%)
HSVhsv(231, 68%, 81%)
CMYKcmyk(68%, 57.8%, 0%, 19.2%)
CIE-LABlab(41.89, 31.03, -64.06)
CIE-LCHlch(41.89, 71.18, 295.84°)
OKLaboklab(51.11% 0.0026 -0.1845)
OKLCHoklch(51.11% 0.185 270.8)
XYZxyz(16.7918, 12.4293, 59.8947)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4257CE #CEB942
analogous
#429DCE #4257CE #7342CE
triadic
#4257CE #CE4257 #57CE42
tetradic
#4257CE #CE429D #CEB942 #42CE73
square
#4257CE #CE429D #CEB942 #42CE73
split-complementary
#4257CE #CE7342 #9DCE42
monochromatic
#1F2C77 #2B3EA7 #4257CE #7382DB #A3ADE7

Accessibility & contrast

On white

6.02
#4257CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4257CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4257CE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4257CE#FFFFFF#000000##FFFFFF
##4257CE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4257ce;
/* rgb */ color: rgb(66, 87, 206);
/* oklch */ color: oklch(51.1% 0.185 270.8);
Tailwind
colors: {
  custom: {
    50: '#8786de',
    500: '#4257ce',
    950: '#000000',
  },
}
SCSS
$custom: #4257ce;
$custom-light: #8786de;
$custom-dark: #000000;
JSON
{
  "hex": "#4257ce",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 231,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.18457,
    "h": 270.8
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#4257CE
secondary
#D4CB98
accent
#CB46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4257CE

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

Preview Lab → · Contrast checker → · Palette generator →

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