#4257CC#4257CC

#4257CC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.182 H 270.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4257CC
RGBrgb(66, 87, 204)
HSLhsl(231, 58%, 53%)
HSVhsv(231, 68%, 80%)
CMYKcmyk(67.6%, 57.4%, 0%, 20%)
CIE-LABlab(41.74, 30.33, -63.15)
CIE-LCHlch(41.74, 70.06, 295.65°)
OKLaboklab(50.95% 0.0026 -0.1819)
OKLCHoklch(50.95% 0.182 270.8)
XYZxyz(16.5504, 12.3327, 58.6233)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4257CC #CCB742
analogous
#429CCC #4257CC #7242CC
triadic
#4257CC #CC4257 #57CC42
tetradic
#4257CC #CC429C #CCB742 #42CC72
square
#4257CC #CC429C #CCB742 #42CC72
split-complementary
#4257CC #CC7242 #9CCC42
monochromatic
#1F2C74 #2C3FA4 #4257CC #7282D9 #A2ADE6

Accessibility & contrast

On white

6.06
#4257CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4257CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4257CC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4257CC#FFFFFF#000000##FFFFFF
##4257CC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4257cc;
/* rgb */ color: rgb(66, 87, 204);
/* oklch */ color: oklch(50.9% 0.182 270.8);
Tailwind
colors: {
  custom: {
    50: '#8686dc',
    500: '#4257cc',
    950: '#000000',
  },
}
SCSS
$custom: #4257cc;
$custom-light: #8686dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4257cc",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 230.87,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.1819,
    "h": 270.8
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#4257CC
secondary
#D3CA97
accent
#C947E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4257CC

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

Preview Lab → · Contrast checker → · Palette generator →

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