#4256BD#4256BD

#4256BD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.163 H 271.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4256BD
RGBrgb(66, 86, 189)
HSLhsl(230, 48%, 50%)
HSVhsv(230, 65%, 74%)
CMYKcmyk(65.1%, 54.5%, 0%, 25.9%)
CIE-LABlab(40.39, 25.68, -56.64)
CIE-LCHlch(40.39, 62.19, 294.39°)
OKLaboklab(49.59% 0.0029 -0.1627)
OKLCHoklch(49.59% 0.163 271)
XYZxyz(14.7568, 11.4866, 49.5737)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256BD #BDA942
analogous
#4293BD #4256BD #6C42BD
triadic
#4256BD #BD4256 #56BD42
tetradic
#4256BD #BD4293 #BDA942 #42BD6C
square
#4256BD #BD4293 #BDA942 #42BD6C
split-complementary
#4256BD #BD6C42 #93BD42
monochromatic
#222D62 #324190 #4256BD #6F7FCD #9DA7DD

Accessibility & contrast

On white

6.37
#4256BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4256BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256BD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256BD#FFFFFF#000000##FFFFFF
##4256BD1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0765C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4256bd;
/* rgb */ color: rgb(66, 86, 189);
/* oklch */ color: oklch(49.6% 0.163 271.0);
Tailwind
colors: {
  custom: {
    50: '#8485d2',
    500: '#4256bd',
    950: '#000000',
  },
}
SCSS
$custom: #4256bd;
$custom-light: #8485d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4256bd",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 230.244,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.16276,
    "h": 271
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#4256BD
secondary
#C9C092
accent
#C250D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4256BD

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

Preview Lab → · Contrast checker → · Palette generator →

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