#2556A2#2556A2

#2556A2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.2% C 0.134 H 259.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2556A2
RGBrgb(37, 86, 162)
HSLhsl(216, 63%, 39%)
HSVhsv(216, 77%, 64%)
CMYKcmyk(77.2%, 46.9%, 0%, 36.5%)
CIE-LABlab(37.22, 11.36, -45.87)
CIE-LCHlch(37.22, 47.26, 283.91°)
OKLaboklab(46.23% -0.0254 -0.1316)
OKLCHoklch(46.23% 0.134 259.1)
XYZxyz(10.6099, 9.6563, 35.4801)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556A2 #A27125
analogous
#2595A2 #2556A2 #3325A2
triadic
#2556A2 #A22556 #56A225
tetradic
#2556A2 #A22595 #A27125 #25A233
square
#2556A2 #A22595 #A27125 #25A233
split-complementary
#2556A2 #A23325 #95A225
monochromatic
#0E213E #1A3C70 #2556A2 #3471D1 #6594DC

Accessibility & contrast

On white

7.16
#2556A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2556A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2556A2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2556A2#FFFFFF#000000##FFFFFF
##2556A21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2556a2;
/* rgb */ color: rgb(37, 86, 162);
/* oklch */ color: oklch(46.2% 0.134 259.1);
Tailwind
colors: {
  custom: {
    50: '#7285be',
    500: '#2556a2',
    950: '#000000',
  },
}
SCSS
$custom: #2556a2;
$custom-light: #7285be;
$custom-dark: #000000;
JSON
{
  "hex": "#2556a2",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 216.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46228,
    "c": 0.13403,
    "h": 259.1
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2556A2

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

Preview Lab → · Contrast checker → · Palette generator →

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