#4256D5#4256D5

#4256D5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.195 H 271.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4256D5
RGBrgb(66, 86, 213)
HSLhsl(232, 64%, 55%)
HSVhsv(232, 69%, 84%)
CMYKcmyk(69%, 59.6%, 0%, 16.5%)
CIE-LABlab(42.18, 34.11, -67.61)
CIE-LCHlch(42.18, 75.73, 296.77°)
OKLaboklab(51.49% 0.0034 -0.195)
OKLCHoklch(51.49% 0.195 271)
XYZxyz(17.5807, 12.6162, 64.4465)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256D5 #D5C142
analogous
#429FD5 #4256D5 #7842D5
triadic
#4256D5 #D54256 #56D542
tetradic
#4256D5 #D5429F #D5C142 #42D578
square
#4256D5 #D5429F #D5C142 #42D578
split-complementary
#4256D5 #D57842 #9FD542
monochromatic
#1C2A80 #283AB2 #4256D5 #7483E0 #A6B0EB

Accessibility & contrast

On white

5.96
#4256D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4256D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256D5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256D5#FFFFFF#000000##FFFFFF
##4256D51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4256d5;
/* rgb */ color: rgb(66, 86, 213);
/* oklch */ color: oklch(51.5% 0.195 271.0);
Tailwind
colors: {
  custom: {
    50: '#8885e3',
    500: '#4256d5',
    950: '#000000',
  },
}
SCSS
$custom: #4256d5;
$custom-light: #8885e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4256d5",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 231.837,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.19503,
    "h": 271
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#4256D5
secondary
#D8D09A
accent
#D041E7
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4256D5

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

Preview Lab → · Contrast checker → · Palette generator →

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