#2554B1#2554B1

#2554B1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.157 H 262.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2554B1
RGBrgb(37, 84, 177)
HSLhsl(220, 65%, 42%)
HSVhsv(220, 79%, 69%)
CMYKcmyk(79.1%, 52.5%, 0%, 30.6%)
CIE-LABlab(37.67, 18.54, -54.05)
CIE-LCHlch(37.67, 57.14, 288.93°)
OKLaboklab(46.91% -0.0216 -0.1557)
OKLCHoklch(46.91% 0.157 262.1)
XYZxyz(11.8662, 9.9069, 42.8733)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2554B1 #B18225
analogous
#259AB1 #2554B1 #3C25B1
triadic
#2554B1 #B12554 #54B125
tetradic
#2554B1 #B1259A #B18225 #25B13C
square
#2554B1 #B1259A #B18225 #25B13C
split-complementary
#2554B1 #B13C25 #9AB125
monochromatic
#10244C #1A3C7E #2554B1 #3D70D6 #6F96E1

Accessibility & contrast

On white

7.04
#2554B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2554B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2554B1
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2554B1#FFFFFF#000000##FFFFFF
##2554B11.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2554b1;
/* rgb */ color: rgb(37, 84, 177);
/* oklch */ color: oklch(46.9% 0.157 262.1);
Tailwind
colors: {
  custom: {
    50: '#7683c9',
    500: '#2554b1',
    950: '#000000',
  },
}
SCSS
$custom: #2554b1;
$custom-light: #7683c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2554b1",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 177
  },
  "hsl": {
    "h": 219.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.1572,
    "h": 262.1
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#2554B1
secondary
#C8A86A
accent
#B03FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2554B1

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

Preview Lab → · Contrast checker → · Palette generator →

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