#2556A6#2556A6

#2556A6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.140 H 259.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2556A6
RGBrgb(37, 86, 166)
HSLhsl(217, 64%, 40%)
HSVhsv(217, 78%, 65%)
CMYKcmyk(77.7%, 48.2%, 0%, 34.9%)
CIE-LABlab(37.48, 12.92, -47.83)
CIE-LCHlch(37.48, 49.55, 285.12°)
OKLaboklab(46.52% -0.0247 -0.1374)
OKLCHoklch(46.52% 0.14 259.8)
XYZxyz(10.9712, 9.8008, 37.3825)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556A6 #A67525
analogous
#2597A6 #2556A6 #3425A6
triadic
#2556A6 #A62556 #56A625
tetradic
#2556A6 #A62597 #A67525 #25A634
square
#2556A6 #A62597 #A67525 #25A634
split-complementary
#2556A6 #A63425 #97A625
monochromatic
#0F2242 #1A3C74 #2556A6 #3671D2 #6895DD

Accessibility & contrast

On white

7.09
#2556A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2556A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2556A6
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2556A6#FFFFFF#000000##FFFFFF
##2556A61.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA9
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2556a6;
/* rgb */ color: rgb(37, 86, 166);
/* oklch */ color: oklch(46.5% 0.140 259.8);
Tailwind
colors: {
  custom: {
    50: '#7385c1',
    500: '#2556a6',
    950: '#000000',
  },
}
SCSS
$custom: #2556a6;
$custom-light: #7385c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2556a6",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 166
  },
  "hsl": {
    "h": 217.209,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.13959,
    "h": 259.8
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#2556A6
secondary
#C39F64
accent
#A841E7
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2556A6

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

Preview Lab → · Contrast checker → · Palette generator →

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