#2556A5#2556A5

#2556A5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.138 H 259.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2556A5
RGBrgb(37, 86, 165)
HSLhsl(217, 63%, 40%)
HSVhsv(217, 78%, 65%)
CMYKcmyk(77.6%, 47.9%, 0%, 35.3%)
CIE-LABlab(37.42, 12.53, -47.34)
CIE-LCHlch(37.42, 48.97, 284.82°)
OKLaboklab(46.44% -0.0249 -0.1359)
OKLCHoklch(46.44% 0.138 259.6)
XYZxyz(10.8798, 9.7643, 36.9013)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556A5 #A57425
analogous
#2596A5 #2556A5 #3425A5
triadic
#2556A5 #A52556 #56A525
tetradic
#2556A5 #A52596 #A57425 #25A534
square
#2556A5 #A52596 #A57425 #25A534
split-complementary
#2556A5 #A53425 #96A525
monochromatic
#0F2241 #1A3C73 #2556A5 #3571D2 #6794DD

Accessibility & contrast

On white

7.11
#2556A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2556A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2556A5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2556A5#FFFFFF#000000##FFFFFF
##2556A51.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA8
Deuteranopia (green-blind)
#0453A3
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2556a5;
/* rgb */ color: rgb(37, 86, 165);
/* oklch */ color: oklch(46.4% 0.138 259.6);
Tailwind
colors: {
  custom: {
    50: '#7385c0',
    500: '#2556a5',
    950: '#000000',
  },
}
SCSS
$custom: #2556a5;
$custom-light: #7385c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2556a5",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 217.031,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.1382,
    "h": 259.6
  },
  "luminance": 0.09766
}

Semantic roles & 50–950 ramp

primary
#2556A5
secondary
#C39E63
accent
#A741E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2556A5

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

Preview Lab → · Contrast checker → · Palette generator →

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