#4256BA#4256BA

#4256BA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.159 H 271.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4256BA
RGBrgb(66, 86, 186)
HSLhsl(230, 48%, 49%)
HSVhsv(230, 65%, 73%)
CMYKcmyk(64.5%, 53.8%, 0%, 27.1%)
CIE-LABlab(40.18, 24.62, -55.23)
CIE-LCHlch(40.18, 60.47, 294.03°)
OKLaboklab(49.36% 0.0027 -0.1586)
OKLCHoklch(49.36% 0.159 271)
XYZxyz(14.4345, 11.3577, 47.8764)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256BA #BAA642
analogous
#4292BA #4256BA #6A42BA
triadic
#4256BA #BA4256 #56BA42
tetradic
#4256BA #BA4292 #BAA642 #42BA6A
square
#4256BA #BA4292 #BAA642 #42BA6A
split-complementary
#4256BA #BA6A42 #92BA42
monochromatic
#222C60 #32418D #4256BA #6E7DCB #9BA6DB

Accessibility & contrast

On white

6.42
#4256BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4256BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256BA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256BA#FFFFFF#000000##FFFFFF
##4256BA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1164BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4256ba;
/* rgb */ color: rgb(66, 86, 186);
/* oklch */ color: oklch(49.4% 0.159 271.0);
Tailwind
colors: {
  custom: {
    50: '#8385cf',
    500: '#4256ba',
    950: '#000000',
  },
}
SCSS
$custom: #4256ba;
$custom-light: #8385cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4256ba",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 230,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49363,
    "c": 0.1586,
    "h": 271
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#4256BA
secondary
#C8BE90
accent
#C151D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4256BA

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

Preview Lab → · Contrast checker → · Palette generator →

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