#4256B9#4256B9

#4256B9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.157 H 270.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4256B9
RGBrgb(66, 86, 185)
HSLhsl(230, 47%, 49%)
HSVhsv(230, 64%, 73%)
CMYKcmyk(64.3%, 53.5%, 0%, 27.5%)
CIE-LABlab(40.11, 24.27, -54.76)
CIE-LCHlch(40.11, 59.89, 293.90°)
OKLaboklab(49.29% 0.0026 -0.1572)
OKLCHoklch(49.29% 0.157 270.9)
XYZxyz(14.3286, 11.3153, 47.3185)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256B9 #B9A542
analogous
#4292B9 #4256B9 #6A42B9
triadic
#4256B9 #B94256 #56B942
tetradic
#4256B9 #B94292 #B9A542 #42B96A
square
#4256B9 #B94292 #B9A542 #42B96A
split-complementary
#4256B9 #B96A42 #92B942
monochromatic
#222C5F #32418C #4256B9 #6D7DCB #9AA5DB

Accessibility & contrast

On white

6.44
#4256B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4256B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256B9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256B9#FFFFFF#000000##FFFFFF
##4256B91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4256b9;
/* rgb */ color: rgb(66, 86, 185);
/* oklch */ color: oklch(49.3% 0.157 270.9);
Tailwind
colors: {
  custom: {
    50: '#8385cf',
    500: '#4256b9',
    950: '#000000',
  },
}
SCSS
$custom: #4256b9;
$custom-light: #8385cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4256b9",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 185
  },
  "hsl": {
    "h": 229.916,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.15721,
    "h": 270.9
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#4256B9
secondary
#C7BE90
accent
#C051D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4256B9

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

Preview Lab → · Contrast checker → · Palette generator →

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