#4256D1#4256D1

#4256D1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.190 H 271.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4256D1
RGBrgb(66, 86, 209)
HSLhsl(232, 61%, 54%)
HSVhsv(232, 68%, 82%)
CMYKcmyk(68.4%, 58.9%, 0%, 18%)
CIE-LABlab(41.87, 32.71, -65.82)
CIE-LCHlch(41.87, 73.50, 296.43°)
OKLaboklab(51.16% 0.0034 -0.1897)
OKLCHoklch(51.16% 0.19 271)
XYZxyz(17.0793, 12.4156, 61.8056)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256D1 #D1BD42
analogous
#429ED1 #4256D1 #7642D1
triadic
#4256D1 #D14256 #56D142
tetradic
#4256D1 #D1429E #D1BD42 #42D176
square
#4256D1 #D1429E #D1BD42 #42D176
split-complementary
#4256D1 #D17642 #9ED142
monochromatic
#1E2B7B #2A3CAC #4256D1 #7382DD #A4AEE9

Accessibility & contrast

On white

6.03
#4256D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4256D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256D1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256D1#FFFFFF#000000##FFFFFF
##4256D11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4256d1;
/* rgb */ color: rgb(66, 86, 209);
/* oklch */ color: oklch(51.2% 0.190 271.0);
Tailwind
colors: {
  custom: {
    50: '#8785e0',
    500: '#4256d1',
    950: '#000000',
  },
}
SCSS
$custom: #4256d1;
$custom-light: #8785e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4256d1",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 231.608,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.18977,
    "h": 271
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#4256D1
secondary
#D6CD99
accent
#CE44E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4256D1

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

Preview Lab → · Contrast checker → · Palette generator →

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