#4256BF#4256BF

#4256BF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.166 H 271.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4256BF
RGBrgb(66, 86, 191)
HSLhsl(230, 49%, 50%)
HSVhsv(230, 65%, 75%)
CMYKcmyk(65.4%, 55%, 0%, 25.1%)
CIE-LABlab(40.53, 26.39, -57.58)
CIE-LCHlch(40.53, 63.33, 294.62°)
OKLaboklab(49.74% 0.003 -0.1655)
OKLCHoklch(49.74% 0.166 271)
XYZxyz(14.9754, 11.5741, 50.7249)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256BF #BFAB42
analogous
#4294BF #4256BF #6C42BF
triadic
#4256BF #BF4256 #56BF42
tetradic
#4256BF #BF4294 #BFAB42 #42BF6C
square
#4256BF #BF4294 #BFAB42 #42BF6C
split-complementary
#4256BF #BF6C42 #94BF42
monochromatic
#222D65 #324192 #4256BF #707FCE #9DA8DE

Accessibility & contrast

On white

6.33
#4256BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4256BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256BF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256BF#FFFFFF#000000##FFFFFF
##4256BF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4256bf;
/* rgb */ color: rgb(66, 86, 191);
/* oklch */ color: oklch(49.7% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#8485d3',
    500: '#4256bf',
    950: '#000000',
  },
}
SCSS
$custom: #4256bf;
$custom-light: #8485d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4256bf",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 230.4,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.16552,
    "h": 271
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#4256BF
secondary
#CAC193
accent
#C34FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4256BF

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

Preview Lab → · Contrast checker → · Palette generator →

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