#4256D4#4256D4

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

Color values

HEX#4256D4
RGBrgb(66, 86, 212)
HSLhsl(232, 63%, 55%)
HSVhsv(232, 69%, 83%)
CMYKcmyk(68.9%, 59.4%, 0%, 16.9%)
CIE-LABlab(42.10, 33.76, -67.17)
CIE-LCHlch(42.10, 75.18, 296.69°)
OKLaboklab(51.41% 0.0034 -0.1937)
OKLCHoklch(51.41% 0.194 271)
XYZxyz(17.4542, 12.5656, 63.7801)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256D4 #D4C042
analogous
#429FD4 #4256D4 #7742D4
triadic
#4256D4 #D44256 #56D442
tetradic
#4256D4 #D4429F #D4C042 #42D477
square
#4256D4 #D4429F #D4C042 #42D477
split-complementary
#4256D4 #D47742 #9FD442
monochromatic
#1D2A7F #283BB1 #4256D4 #7483DF #A6AFEB

Accessibility & contrast

On white

5.98
#4256D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4256D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256D4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256D4#FFFFFF#000000##FFFFFF
##4256D41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4256d4;
/* rgb */ color: rgb(66, 86, 212);
/* oklch */ color: oklch(51.4% 0.194 271.0);
Tailwind
colors: {
  custom: {
    50: '#8885e2',
    500: '#4256d4',
    950: '#000000',
  },
}
SCSS
$custom: #4256d4;
$custom-light: #8885e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4256d4",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 231.781,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.19372,
    "h": 271
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#4256D4
secondary
#D8CF9A
accent
#CF42E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4256D4

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

Preview Lab → · Contrast checker → · Palette generator →

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