#2556A3#2556A3

#2556A3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.3% C 0.135 H 259.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2556A3
RGBrgb(37, 86, 163)
HSLhsl(217, 63%, 39%)
HSVhsv(217, 77%, 64%)
CMYKcmyk(77.3%, 47.2%, 0%, 36.1%)
CIE-LABlab(37.28, 11.75, -46.36)
CIE-LCHlch(37.28, 47.83, 284.22°)
OKLaboklab(46.3% -0.0252 -0.133)
OKLCHoklch(46.3% 0.135 259.3)
XYZxyz(10.6992, 9.6920, 35.9501)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556A3 #A37225
analogous
#2595A3 #2556A3 #3325A3
triadic
#2556A3 #A32556 #56A325
tetradic
#2556A3 #A32595 #A37225 #25A333
square
#2556A3 #A32595 #A37225 #25A333
split-complementary
#2556A3 #A33325 #95A325
monochromatic
#0E213F #1A3C71 #2556A3 #3471D1 #6694DC

Accessibility & contrast

On white

7.15
#2556A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2556A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2556A3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2556A3#FFFFFF#000000##FFFFFF
##2556A31.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#0B52A1
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2556a3;
/* rgb */ color: rgb(37, 86, 163);
/* oklch */ color: oklch(46.3% 0.135 259.3);
Tailwind
colors: {
  custom: {
    50: '#7285bf',
    500: '#2556a3',
    950: '#000000',
  },
}
SCSS
$custom: #2556a3;
$custom-light: #7285bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2556a3",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 163
  },
  "hsl": {
    "h": 216.667,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.13542,
    "h": 259.3
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#2556A3
secondary
#C29D62
accent
#A642E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2556A3

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

Preview Lab → · Contrast checker → · Palette generator →

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