#2554AB#2554AB

#2554AB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.149 H 261.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2554AB
RGBrgb(37, 84, 171)
HSLhsl(219, 64%, 41%)
HSVhsv(219, 78%, 67%)
CMYKcmyk(78.4%, 50.9%, 0%, 32.9%)
CIE-LABlab(37.25, 16.20, -51.18)
CIE-LCHlch(37.25, 53.69, 287.56°)
OKLaboklab(46.45% -0.0224 -0.1473)
OKLCHoklch(46.45% 0.149 261.4)
XYZxyz(11.2813, 9.6729, 39.7927)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2554AB #AB7C25
analogous
#2597AB #2554AB #3925AB
triadic
#2554AB #AB2554 #54AB25
tetradic
#2554AB #AB2597 #AB7C25 #25AB39
square
#2554AB #AB2597 #AB7C25 #25AB39
split-complementary
#2554AB #AB3925 #97AB25
monochromatic
#0F2346 #1A3B79 #2554AB #396FD4 #6B94DF

Accessibility & contrast

On white

7.16
#2554AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2554AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2554AB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2554AB#FFFFFF#000000##FFFFFF
##2554AB1.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)
#1E5EAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2554ab;
/* rgb */ color: rgb(37, 84, 171);
/* oklch */ color: oklch(46.4% 0.149 261.4);
Tailwind
colors: {
  custom: {
    50: '#7483c5',
    500: '#2554ab',
    950: '#000000',
  },
}
SCSS
$custom: #2554ab;
$custom-light: #7483c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2554ab",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 218.955,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.14897,
    "h": 261.4
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#2554AB
secondary
#C5A467
accent
#AD40E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2554AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2554AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva