#2556AD#2556AD

#2556AD is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.149 H 260.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2556AD
RGBrgb(37, 86, 173)
HSLhsl(218, 65%, 41%)
HSVhsv(218, 79%, 68%)
CMYKcmyk(78.6%, 50.3%, 0%, 32.2%)
CIE-LABlab(37.96, 15.65, -51.22)
CIE-LCHlch(37.96, 53.56, 286.99°)
OKLaboklab(47.03% -0.0237 -0.1473)
OKLCHoklch(47.03% 0.149 260.9)
XYZxyz(11.6308, 10.0647, 40.8567)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556AD #AD7C25
analogous
#259AAD #2556AD #3825AD
triadic
#2556AD #AD2556 #56AD25
tetradic
#2556AD #AD259A #AD7C25 #25AD38
square
#2556AD #AD259A #AD7C25 #25AD38
split-complementary
#2556AD #AD3825 #9AAD25
monochromatic
#0F2448 #1A3D7B #2556AD #3A72D5 #6D96E0

Accessibility & contrast

On white

6.97
#2556AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2556AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2556AD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2556AD#FFFFFF#000000##FFFFFF
##2556AD1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2556ad;
/* rgb */ color: rgb(37, 86, 173);
/* oklch */ color: oklch(47.0% 0.149 260.9);
Tailwind
colors: {
  custom: {
    50: '#7585c6',
    500: '#2556ad',
    950: '#000000',
  },
}
SCSS
$custom: #2556ad;
$custom-light: #7585c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2556ad",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 218.382,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47033,
    "c": 0.14924,
    "h": 260.9
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#2556AD
secondary
#C6A468
accent
#AB40E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2556AD

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

Preview Lab → · Contrast checker → · Palette generator →

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