#2556AA#2556AA

#2556AA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.145 H 260.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2556AA
RGBrgb(37, 86, 170)
HSLhsl(218, 64%, 41%)
HSVhsv(218, 78%, 67%)
CMYKcmyk(78.2%, 49.4%, 0%, 33.3%)
CIE-LABlab(37.75, 14.48, -49.78)
CIE-LCHlch(37.75, 51.84, 286.22°)
OKLaboklab(46.81% -0.0241 -0.1431)
OKLCHoklch(46.81% 0.145 260.4)
XYZxyz(11.3438, 9.9499, 39.3451)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556AA #AA7925
analogous
#2598AA #2556AA #3725AA
triadic
#2556AA #AA2556 #56AA25
tetradic
#2556AA #AA2598 #AA7925 #25AA37
square
#2556AA #AA2598 #AA7925 #25AA37
split-complementary
#2556AA #AA3725 #98AA25
monochromatic
#0F2345 #1A3D78 #2556AA #3872D4 #6B95DF

Accessibility & contrast

On white

7.02
#2556AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2556AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2556AA#FFFFFF#000000##FFFFFF
##2556AA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2556aa;
/* rgb */ color: rgb(37, 86, 170);
/* oklch */ color: oklch(46.8% 0.145 260.4);
Tailwind
colors: {
  custom: {
    50: '#7485c4',
    500: '#2556aa',
    950: '#000000',
  },
}
SCSS
$custom: #2556aa;
$custom-light: #7485c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2556aa",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 217.895,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46809,
    "c": 0.14512,
    "h": 260.4
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#2556AA
secondary
#C5A266
accent
#AA41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2556AA

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

Preview Lab → · Contrast checker → · Palette generator →

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