#2554A4#2554A4

#2554A4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.139 H 260.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2554A4
RGBrgb(37, 84, 164)
HSLhsl(218, 63%, 39%)
HSVhsv(218, 77%, 64%)
CMYKcmyk(77.4%, 48.8%, 0%, 35.7%)
CIE-LABlab(36.77, 13.46, -47.79)
CIE-LCHlch(36.77, 49.65, 285.73°)
OKLaboklab(45.92% -0.0234 -0.1373)
OKLCHoklch(45.92% 0.139 260.3)
XYZxyz(10.6317, 9.4131, 36.3713)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2554A4 #A47525
analogous
#2594A4 #2554A4 #3525A4
triadic
#2554A4 #A42554 #54A425
tetradic
#2554A4 #A42594 #A47525 #25A435
square
#2554A4 #A42594 #A47525 #25A435
split-complementary
#2554A4 #A43525 #94A425
monochromatic
#0E2140 #1A3A72 #2554A4 #356FD1 #6792DD

Accessibility & contrast

On white

7.28
#2554A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2554A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2554A4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2554A4#FFFFFF#000000##FFFFFF
##2554A41.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2554a4;
/* rgb */ color: rgb(37, 84, 164);
/* oklch */ color: oklch(45.9% 0.139 260.3);
Tailwind
colors: {
  custom: {
    50: '#7383bf',
    500: '#2554a4',
    950: '#000000',
  },
}
SCSS
$custom: #2554a4;
$custom-light: #7383bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2554a4",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 217.795,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.13926,
    "h": 260.3
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#2554A4
secondary
#C29F62
accent
#A942E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2554A4

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

Preview Lab → · Contrast checker → · Palette generator →

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