#2554E2#2554E2

#2554E2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.0% C 0.221 H 265.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2554E2
RGBrgb(37, 84, 226)
HSLhsl(225, 77%, 52%)
HSVhsv(225, 84%, 89%)
CMYKcmyk(83.6%, 62.8%, 0%, 11.4%)
CIE-LABlab(41.57, 37.15, -76.08)
CIE-LCHlch(41.57, 84.67, 296.03°)
OKLaboklab(51.04% -0.0193 -0.2204)
OKLCHoklch(51.04% 0.221 265)
XYZxyz(17.6559, 12.2228, 73.3654)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2554E2 #E2B325
analogous
#25B3E2 #2554E2 #5525E2
triadic
#2554E2 #E22554 #54E225
tetradic
#2554E2 #E225B3 #E2B325 #25E255
square
#2554E2 #E225B3 #E2B325 #25E255
split-complementary
#2554E2 #E25525 #B3E225
monochromatic
#112B7C #183EB2 #2554E2 #5B7EE9 #91A9F0

Accessibility & contrast

On white

6.10
#2554E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2554E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2554E2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2554E2#FFFFFF#000000##FFFFFF
##2554E21.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2554e2;
/* rgb */ color: rgb(37, 84, 226);
/* oklch */ color: oklch(51.0% 0.221 265.0);
Tailwind
colors: {
  custom: {
    50: '#8283ec',
    500: '#2554e2',
    950: '#000000',
  },
}
SCSS
$custom: #2554e2;
$custom-light: #8283ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2554e2",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 225.079,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51039,
    "c": 0.22122,
    "h": 265
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#2554E2
secondary
#DBC688
accent
#C435F3
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #2554E2

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

Preview Lab → · Contrast checker → · Palette generator →

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