#2556AC#2556AC

#2556AC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.148 H 260.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2556AC
RGBrgb(37, 86, 172)
HSLhsl(218, 65%, 41%)
HSVhsv(218, 78%, 67%)
CMYKcmyk(78.5%, 50%, 0%, 32.5%)
CIE-LABlab(37.89, 15.26, -50.74)
CIE-LCHlch(37.89, 52.99, 286.74°)
OKLaboklab(46.96% -0.0238 -0.1459)
OKLCHoklch(46.96% 0.148 260.7)
XYZxyz(11.5344, 10.0261, 40.3491)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2556AC #AC7B25
analogous
#2599AC #2556AC #3725AC
triadic
#2556AC #AC2556 #56AC25
tetradic
#2556AC #AC2599 #AC7B25 #25AC37
square
#2556AC #AC2599 #AC7B25 #25AC37
split-complementary
#2556AC #AC3725 #99AC25
monochromatic
#0F2447 #1A3D7A #2556AC #3A72D5 #6C96DF

Accessibility & contrast

On white

6.99
#2556AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2556AC#FFFFFF#000000##FFFFFF
##2556AC1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2556ac;
/* rgb */ color: rgb(37, 86, 172);
/* oklch */ color: oklch(47.0% 0.148 260.7);
Tailwind
colors: {
  custom: {
    50: '#7485c5',
    500: '#2556ac',
    950: '#000000',
  },
}
SCSS
$custom: #2556ac;
$custom-light: #7485c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2556ac",
  "rgb": {
    "r": 37,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 218.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46958,
    "c": 0.14787,
    "h": 260.7
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2556AC

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

Preview Lab → · Contrast checker → · Palette generator →

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