#4256D9#4256D9

#4256D9 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.8% C 0.200 H 271.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4256D9
RGBrgb(66, 86, 217)
HSLhsl(232, 67%, 55%)
HSVhsv(232, 70%, 85%)
CMYKcmyk(69.6%, 60.4%, 0%, 14.9%)
CIE-LABlab(42.49, 35.51, -69.39)
CIE-LCHlch(42.49, 77.95, 297.10°)
OKLaboklab(51.82% 0.0033 -0.2002)
OKLCHoklch(51.82% 0.2 271)
XYZxyz(18.0947, 12.8218, 67.1534)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256D9 #D9C542
analogous
#42A1D9 #4256D9 #7942D9
triadic
#4256D9 #D94256 #56D942
tetradic
#4256D9 #D942A1 #D9C542 #42D979
square
#4256D9 #D942A1 #D9C542 #42D979
split-complementary
#4256D9 #D97942 #A1D942
monochromatic
#1B2986 #2539B9 #4256D9 #7584E3 #A8B1ED

Accessibility & contrast

On white

5.89
#4256D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4256D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256D9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256D9#FFFFFF#000000##FFFFFF
##4256D91.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4256d9;
/* rgb */ color: rgb(66, 86, 217);
/* oklch */ color: oklch(51.8% 0.200 271.0);
Tailwind
colors: {
  custom: {
    50: '#8985e6',
    500: '#4256d9',
    950: '#000000',
  },
}
SCSS
$custom: #4256d9;
$custom-light: #8985e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4256d9",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 232.053,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.20025,
    "h": 271
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#4256D9
secondary
#DBD39C
accent
#D33EE9
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4256D9

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

Preview Lab → · Contrast checker → · Palette generator →

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