#4256C9#4256C9

#4256C9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.179 H 271.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4256C9
RGBrgb(66, 86, 201)
HSLhsl(231, 56%, 52%)
HSVhsv(231, 67%, 79%)
CMYKcmyk(67.2%, 57.2%, 0%, 21.2%)
CIE-LABlab(41.26, 29.91, -62.20)
CIE-LCHlch(41.26, 69.01, 295.68°)
OKLaboklab(50.52% 0.0033 -0.1791)
OKLCHoklch(50.52% 0.179 271.1)
XYZxyz(16.1136, 12.0294, 56.7197)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256C9 #C9B542
analogous
#429AC9 #4256C9 #7142C9
triadic
#4256C9 #C94256 #56C942
tetradic
#4256C9 #C9429A #C9B542 #42C971
square
#4256C9 #C9429A #C9B542 #42C971
split-complementary
#4256C9 #C97142 #9AC942
monochromatic
#202C70 #2E3FA0 #4256C9 #7281D7 #A1ABE4

Accessibility & contrast

On white

6.17
#4256C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4256C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256C9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256C9#FFFFFF#000000##FFFFFF
##4256C91.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4256c9;
/* rgb */ color: rgb(66, 86, 201);
/* oklch */ color: oklch(50.5% 0.179 271.1);
Tailwind
colors: {
  custom: {
    50: '#8685da',
    500: '#4256c9',
    950: '#000000',
  },
}
SCSS
$custom: #4256c9;
$custom-light: #8685da;
$custom-dark: #000000;
JSON
{
  "hex": "#4256c9",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 201
  },
  "hsl": {
    "h": 231.111,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.17911,
    "h": 271.1
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#4256C9
secondary
#D1C896
accent
#C949DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4256C9

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

Preview Lab → · Contrast checker → · Palette generator →

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