#2554A2#2554A2

#2554A2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.136 H 260.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2554A2
RGBrgb(37, 84, 162)
HSLhsl(217, 63%, 39%)
HSVhsv(217, 77%, 64%)
CMYKcmyk(77.2%, 48.1%, 0%, 36.5%)
CIE-LABlab(36.63, 12.68, -46.81)
CIE-LCHlch(36.63, 48.50, 285.16°)
OKLaboklab(45.78% -0.0237 -0.1344)
OKLCHoklch(45.78% 0.136 260)
XYZxyz(10.4525, 9.3414, 35.4276)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2554A2 #A27325
analogous
#2593A2 #2554A2 #3525A2
triadic
#2554A2 #A22554 #54A225
tetradic
#2554A2 #A22593 #A27325 #25A235
square
#2554A2 #A22593 #A27325 #25A235
split-complementary
#2554A2 #A23525 #93A225
monochromatic
#0E203E #1A3A70 #2554A2 #346FD1 #6592DC

Accessibility & contrast

On white

7.32
#2554A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2554A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2554A2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2554A2#FFFFFF#000000##FFFFFF
##2554A21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#0251A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2554a2;
/* rgb */ color: rgb(37, 84, 162);
/* oklch */ color: oklch(45.8% 0.136 260.0);
Tailwind
colors: {
  custom: {
    50: '#7283be',
    500: '#2554a2',
    950: '#000000',
  },
}
SCSS
$custom: #2554a2;
$custom-light: #7283be;
$custom-dark: #000000;
JSON
{
  "hex": "#2554a2",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 217.44,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.13648,
    "h": 260
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#2554A2
secondary
#C29D61
accent
#A842E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2554A2

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

Preview Lab → · Contrast checker → · Palette generator →

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