#2544A7#2544A7

#2544A7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.163 H 266.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2544A7
RGBrgb(37, 68, 167)
HSLhsl(226, 64%, 40%)
HSVhsv(226, 78%, 65%)
CMYKcmyk(77.8%, 59.3%, 0%, 34.5%)
CIE-LABlab(32.52, 25.36, -56.48)
CIE-LCHlch(32.52, 61.91, 294.18°)
OKLaboklab(42.77% -0.0109 -0.1631)
OKLCHoklch(42.77% 0.163 266.2)
XYZxyz(9.8027, 7.3165, 37.4473)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2544A7 #A78825
analogous
#2585A7 #2544A7 #4725A7
triadic
#2544A7 #A72544 #44A725
tetradic
#2544A7 #A72585 #A78825 #25A747
square
#2544A7 #A72585 #A78825 #25A747
split-complementary
#2544A7 #A74725 #85A725
monochromatic
#0F1B43 #1A3075 #2544A7 #375CD3 #6985DE

Accessibility & contrast

On white

8.52
#2544A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2544A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2544A7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2544A7#FFFFFF#000000##FFFFFF
##2544A71.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2544a7;
/* rgb */ color: rgb(37, 68, 167);
/* oklch */ color: oklch(42.8% 0.163 266.2);
Tailwind
colors: {
  custom: {
    50: '#7477c2',
    500: '#2544a7',
    950: '#000000',
  },
}
SCSS
$custom: #2544a7;
$custom-light: #7477c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2544a7",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 167
  },
  "hsl": {
    "h": 225.692,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.16348,
    "h": 266.2
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#2544A7
secondary
#C4AD64
accent
#BF41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2544A7

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

Preview Lab → · Contrast checker → · Palette generator →

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