#4256CE#4256CE

#4256CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.186 H 271.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4256CE
RGBrgb(66, 86, 206)
HSLhsl(231, 59%, 53%)
HSVhsv(231, 68%, 81%)
CMYKcmyk(68%, 58.3%, 0%, 19.2%)
CIE-LABlab(41.64, 31.66, -64.47)
CIE-LCHlch(41.64, 71.82, 296.16°)
OKLaboklab(50.92% 0.0034 -0.1858)
OKLCHoklch(50.92% 0.186 271)
XYZxyz(16.7114, 12.2685, 59.8679)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256CE #CEBA42
analogous
#429CCE #4256CE #7442CE
triadic
#4256CE #CE4256 #56CE42
tetradic
#4256CE #CE429C #CEBA42 #42CE74
square
#4256CE #CE429C #CEBA42 #42CE74
split-complementary
#4256CE #CE7442 #9CCE42
monochromatic
#1F2B77 #2B3DA7 #4256CE #7381DB #A3ADE7

Accessibility & contrast

On white

6.08
#4256CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4256CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256CE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256CE#FFFFFF#000000##FFFFFF
##4256CE1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4256ce;
/* rgb */ color: rgb(66, 86, 206);
/* oklch */ color: oklch(50.9% 0.186 271.0);
Tailwind
colors: {
  custom: {
    50: '#8785de',
    500: '#4256ce',
    950: '#000000',
  },
}
SCSS
$custom: #4256ce;
$custom-light: #8785de;
$custom-dark: #000000;
JSON
{
  "hex": "#4256ce",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 231.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.18579,
    "h": 271
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4256CE

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

Preview Lab → · Contrast checker → · Palette generator →

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