#2544A5#2544A5

#2544A5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.161 H 266.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2544A5
RGBrgb(37, 68, 165)
HSLhsl(225, 63%, 40%)
HSVhsv(225, 78%, 65%)
CMYKcmyk(77.6%, 58.8%, 0%, 35.3%)
CIE-LABlab(32.35, 24.59, -55.54)
CIE-LCHlch(32.35, 60.74, 293.88°)
OKLaboklab(42.6% -0.0109 -0.1604)
OKLCHoklch(42.6% 0.161 266.1)
XYZxyz(9.6192, 7.2431, 36.4811)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2544A5 #A58625
analogous
#2584A5 #2544A5 #4625A5
triadic
#2544A5 #A52544 #44A525
tetradic
#2544A5 #A52584 #A58625 #25A546
square
#2544A5 #A52584 #A58625 #25A546
split-complementary
#2544A5 #A54625 #84A525
monochromatic
#0F1B41 #1A2F73 #2544A5 #355BD2 #6784DD

Accessibility & contrast

On white

8.58
#2544A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2544A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2544A5
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2544A5#FFFFFF#000000##FFFFFF
##2544A51.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2544a5;
/* rgb */ color: rgb(37, 68, 165);
/* oklch */ color: oklch(42.6% 0.161 266.1);
Tailwind
colors: {
  custom: {
    50: '#7477c0',
    500: '#2544a5',
    950: '#000000',
  },
}
SCSS
$custom: #2544a5;
$custom-light: #7477c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2544a5",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 165
  },
  "hsl": {
    "h": 225.469,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.426,
    "c": 0.16074,
    "h": 266.1
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#2544A5
secondary
#C3AC63
accent
#BE41E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2544A5

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

Preview Lab → · Contrast checker → · Palette generator →

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