#2554A5#2554A5

#2554A5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.141 H 260.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2554A5
RGBrgb(37, 84, 165)
HSLhsl(218, 63%, 40%)
HSVhsv(218, 78%, 65%)
CMYKcmyk(77.6%, 49.1%, 0%, 35.3%)
CIE-LABlab(36.84, 13.86, -48.28)
CIE-LCHlch(36.84, 50.23, 286.01°)
OKLaboklab(46% -0.0232 -0.1387)
OKLCHoklch(46% 0.141 260.5)
XYZxyz(10.7223, 9.4493, 36.8488)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2554A5 #A57625
analogous
#2594A5 #2554A5 #3625A5
triadic
#2554A5 #A52554 #54A525
tetradic
#2554A5 #A52594 #A57625 #25A536
square
#2554A5 #A52594 #A57625 #25A536
split-complementary
#2554A5 #A53625 #94A525
monochromatic
#0F2141 #1A3B73 #2554A5 #356FD2 #6793DD

Accessibility & contrast

On white

7.27
#2554A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2554A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2554A5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2554A5#FFFFFF#000000##FFFFFF
##2554A51.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2554a5;
/* rgb */ color: rgb(37, 84, 165);
/* oklch */ color: oklch(46.0% 0.141 260.5);
Tailwind
colors: {
  custom: {
    50: '#7383c0',
    500: '#2554a5',
    950: '#000000',
  },
}
SCSS
$custom: #2554a5;
$custom-light: #7383c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2554a5",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 217.969,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.14066,
    "h": 260.5
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#2554A5
secondary
#C3A063
accent
#AA41E6
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2554A5

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

Preview Lab → · Contrast checker → · Palette generator →

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