#4256B2#4256B2

#4256B2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.147 H 270.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4256B2
RGBrgb(66, 86, 178)
HSLhsl(229, 46%, 48%)
HSVhsv(229, 63%, 70%)
CMYKcmyk(62.9%, 51.7%, 0%, 30.2%)
CIE-LABlab(39.63, 21.80, -51.42)
CIE-LCHlch(39.63, 55.85, 292.98°)
OKLaboklab(48.77% 0.002 -0.1474)
OKLCHoklch(48.77% 0.147 270.8)
XYZxyz(13.6077, 11.0270, 43.5222)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256B2 #B29E42
analogous
#428EB2 #4256B2 #6642B2
triadic
#4256B2 #B24256 #56B242
tetradic
#4256B2 #B2428E #B29E42 #42B266
square
#4256B2 #B2428E #B29E42 #42B266
split-complementary
#4256B2 #B26642 #8EB242
monochromatic
#212B59 #314085 #4256B2 #6A7AC8 #96A2D8

Accessibility & contrast

On white

6.55
#4256B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4256B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256B2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256B2#FFFFFF#000000##FFFFFF
##4256B21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4256b2;
/* rgb */ color: rgb(66, 86, 178);
/* oklch */ color: oklch(48.8% 0.147 270.8);
Tailwind
colors: {
  custom: {
    50: '#8185ca',
    500: '#4256b2',
    950: '#000000',
  },
}
SCSS
$custom: #4256b2;
$custom-light: #8185ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4256b2",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 229.286,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48772,
    "c": 0.14739,
    "h": 270.8
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#4256B2
secondary
#C4BA8C
accent
#BE52D6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4256B2

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

Preview Lab → · Contrast checker → · Palette generator →

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