#4256CC#4256CC

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

Color values

HEX#4256CC
RGBrgb(66, 86, 204)
HSLhsl(231, 58%, 53%)
HSVhsv(231, 68%, 80%)
CMYKcmyk(67.6%, 57.8%, 0%, 20%)
CIE-LABlab(41.49, 30.96, -63.56)
CIE-LCHlch(41.49, 70.70, 295.97°)
OKLaboklab(50.76% 0.0034 -0.1831)
OKLCHoklch(50.76% 0.183 271.1)
XYZxyz(16.4699, 12.1719, 58.5965)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256CC #CCB842
analogous
#429BCC #4256CC #7342CC
triadic
#4256CC #CC4256 #56CC42
tetradic
#4256CC #CC429B #CCB842 #42CC73
square
#4256CC #CC429B #CCB842 #42CC73
split-complementary
#4256CC #CC7342 #9BCC42
monochromatic
#1F2C74 #2C3EA4 #4256CC #7281D9 #A2ACE6

Accessibility & contrast

On white

6.11
#4256CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4256CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256CC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256CC#FFFFFF#000000##FFFFFF
##4256CC1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4256cc;
/* rgb */ color: rgb(66, 86, 204);
/* oklch */ color: oklch(50.8% 0.183 271.1);
Tailwind
colors: {
  custom: {
    50: '#8685dc',
    500: '#4256cc',
    950: '#000000',
  },
}
SCSS
$custom: #4256cc;
$custom-light: #8685dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4256cc",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 231.304,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.18313,
    "h": 271.1
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4256CC

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

Preview Lab → · Contrast checker → · Palette generator →

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