#4256CD#4256CD

#4256CD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.184 H 271.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4256CD
RGBrgb(66, 86, 205)
HSLhsl(231, 58%, 53%)
HSVhsv(231, 68%, 80%)
CMYKcmyk(67.8%, 58%, 0%, 19.6%)
CIE-LABlab(41.56, 31.31, -64.02)
CIE-LCHlch(41.56, 71.26, 296.06°)
OKLaboklab(50.84% 0.0034 -0.1844)
OKLCHoklch(50.84% 0.184 271)
XYZxyz(16.5903, 12.2200, 59.2302)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256CD #CDB942
analogous
#429BCD #4256CD #7342CD
triadic
#4256CD #CD4256 #56CD42
tetradic
#4256CD #CD429B #CDB942 #42CD73
square
#4256CD #CD429B #CDB942 #42CD73
split-complementary
#4256CD #CD7342 #9BCD42
monochromatic
#1F2C76 #2C3DA6 #4256CD #7281DA #A3ADE7

Accessibility & contrast

On white

6.10
#4256CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4256CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256CD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256CD#FFFFFF#000000##FFFFFF
##4256CD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4256cd;
/* rgb */ color: rgb(66, 86, 205);
/* oklch */ color: oklch(50.8% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#8785dd',
    500: '#4256cd',
    950: '#000000',
  },
}
SCSS
$custom: #4256cd;
$custom-light: #8785dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4256cd",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 231.367,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.18446,
    "h": 271
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#4256CD
secondary
#D3CB97
accent
#CB46E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4256CD

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

Preview Lab → · Contrast checker → · Palette generator →

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