#2556A8#2556A8

#2556A8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.142 H 260.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2556A8
RGBrgb(37, 86, 168)
HSLhsl(218, 64%, 40%)
HSVhsv(218, 78%, 66%)
CMYKcmyk(78%, 48.8%, 0%, 34.1%)
CIE-LABlab(37.62, 13.70, -48.81)
CIE-LCHlch(37.62, 50.69, 285.68°)
OKLaboklab(46.66% -0.0244 -0.1402)
OKLCHoklch(46.66% 0.142 260.1)
XYZxyz(11.1561, 9.8748, 38.3562)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556A8 #A87725
analogous
#2597A8 #2556A8 #3525A8
triadic
#2556A8 #A82556 #56A825
tetradic
#2556A8 #A82597 #A87725 #25A835
square
#2556A8 #A82597 #A87725 #25A835
split-complementary
#2556A8 #A83525 #97A825
monochromatic
#0F2344 #1A3C76 #2556A8 #3771D3 #6995DE

Accessibility & contrast

On white

7.06
#2556A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2556A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2556A8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2556A8#FFFFFF#000000##FFFFFF
##2556A81.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2556a8;
/* rgb */ color: rgb(37, 86, 168);
/* oklch */ color: oklch(46.7% 0.142 260.1);
Tailwind
colors: {
  custom: {
    50: '#7385c2',
    500: '#2556a8',
    950: '#000000',
  },
}
SCSS
$custom: #2556a8;
$custom-light: #7385c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2556a8",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 168
  },
  "hsl": {
    "h": 217.557,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.14235,
    "h": 260.1
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#2556A8
secondary
#C4A065
accent
#A941E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2556A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2556A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva