#2544A8#2544A8

#2544A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.165 H 266.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2544A8
RGBrgb(37, 68, 168)
HSLhsl(226, 64%, 40%)
HSVhsv(226, 78%, 66%)
CMYKcmyk(78%, 59.5%, 0%, 34.1%)
CIE-LABlab(32.60, 25.74, -56.94)
CIE-LCHlch(32.60, 62.49, 294.33°)
OKLaboklab(42.86% -0.0108 -0.1645)
OKLCHoklch(42.86% 0.165 266.2)
XYZxyz(9.8955, 7.3536, 37.9361)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2544A8 #A88925
analogous
#2585A8 #2544A8 #4825A8
triadic
#2544A8 #A82544 #44A825
tetradic
#2544A8 #A82585 #A88925 #25A848
square
#2544A8 #A82585 #A88925 #25A848
split-complementary
#2544A8 #A84825 #85A825
monochromatic
#0F1B44 #1A3076 #2544A8 #375CD3 #6985DE

Accessibility & contrast

On white

8.50
#2544A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2544A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2544A8
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2544A8#FFFFFF#000000##FFFFFF
##2544A81.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2544a8;
/* rgb */ color: rgb(37, 68, 168);
/* oklch */ color: oklch(42.9% 0.165 266.2);
Tailwind
colors: {
  custom: {
    50: '#7577c3',
    500: '#2544a8',
    950: '#000000',
  },
}
SCSS
$custom: #2544a8;
$custom-light: #7577c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2544a8",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 168
  },
  "hsl": {
    "h": 225.802,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.16485,
    "h": 266.2
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#2544A8
secondary
#C4AE65
accent
#C041E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2544A8

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

Preview Lab → · Contrast checker → · Palette generator →

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