#2554A3#2554A3

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

Color values

HEX#2554A3
RGBrgb(37, 84, 163)
HSLhsl(218, 63%, 39%)
HSVhsv(218, 77%, 64%)
CMYKcmyk(77.3%, 48.5%, 0%, 36.1%)
CIE-LABlab(36.70, 13.07, -47.30)
CIE-LCHlch(36.70, 49.08, 285.45°)
OKLaboklab(45.85% -0.0235 -0.1358)
OKLCHoklch(45.85% 0.138 260.2)
XYZxyz(10.5417, 9.3771, 35.8976)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2554A3 #A37425
analogous
#2593A3 #2554A3 #3525A3
triadic
#2554A3 #A32554 #54A325
tetradic
#2554A3 #A32593 #A37425 #25A335
square
#2554A3 #A32593 #A37425 #25A335
split-complementary
#2554A3 #A33525 #93A325
monochromatic
#0E213F #1A3A71 #2554A3 #346FD1 #6692DC

Accessibility & contrast

On white

7.30
#2554A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2554A3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2554A3#FFFFFF#000000##FFFFFF
##2554A31.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA6
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2554a3;
/* rgb */ color: rgb(37, 84, 163);
/* oklch */ color: oklch(45.9% 0.138 260.2);
Tailwind
colors: {
  custom: {
    50: '#7283bf',
    500: '#2554a3',
    950: '#000000',
  },
}
SCSS
$custom: #2554a3;
$custom-light: #7283bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2554a3",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 163
  },
  "hsl": {
    "h": 217.619,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45851,
    "c": 0.13787,
    "h": 260.2
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2554A3

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

Preview Lab → · Contrast checker → · Palette generator →

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