#4256BB#4256BB

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

Color values

HEX#4256BB
RGBrgb(66, 86, 187)
HSLhsl(230, 48%, 50%)
HSVhsv(230, 65%, 73%)
CMYKcmyk(64.7%, 54%, 0%, 26.7%)
CIE-LABlab(40.25, 24.97, -55.70)
CIE-LCHlch(40.25, 61.04, 294.15°)
OKLaboklab(49.44% 0.0027 -0.16)
OKLCHoklch(49.44% 0.16 271)
XYZxyz(14.5412, 11.4004, 48.4383)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256BB #BBA742
analogous
#4292BB #4256BB #6B42BB
triadic
#4256BB #BB4256 #56BB42
tetradic
#4256BB #BB4292 #BBA742 #42BB6B
square
#4256BB #BB4292 #BBA742 #42BB6B
split-complementary
#4256BB #BB6B42 #92BB42
monochromatic
#222C61 #32418E #4256BB #6E7ECC #9CA6DC

Accessibility & contrast

On white

6.40
#4256BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4256BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256BB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256BB#FFFFFF#000000##FFFFFF
##4256BB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4256bb;
/* rgb */ color: rgb(66, 86, 187);
/* oklch */ color: oklch(49.4% 0.160 271.0);
Tailwind
colors: {
  custom: {
    50: '#8385d0',
    500: '#4256bb',
    950: '#000000',
  },
}
SCSS
$custom: #4256bb;
$custom-light: #8385d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4256bb",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 230.083,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.15999,
    "h": 271
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#4256BB
secondary
#C8BF91
accent
#C150D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4256BB

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

Preview Lab → · Contrast checker → · Palette generator →

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