#2547A5#2547A5

#2547A5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.157 H 265.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2547A5
RGBrgb(37, 71, 165)
HSLhsl(224, 63%, 40%)
HSVhsv(224, 78%, 65%)
CMYKcmyk(77.6%, 57%, 0%, 35.3%)
CIE-LABlab(33.17, 22.57, -54.22)
CIE-LCHlch(33.17, 58.72, 292.60°)
OKLaboklab(43.21% -0.0131 -0.1564)
OKLCHoklch(43.21% 0.157 265.2)
XYZxyz(9.8053, 7.6153, 36.5431)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547A5 #A58325
analogous
#2587A5 #2547A5 #4325A5
triadic
#2547A5 #A52547 #47A525
tetradic
#2547A5 #A52587 #A58325 #25A543
square
#2547A5 #A52587 #A58325 #25A543
split-complementary
#2547A5 #A54325 #87A525
monochromatic
#0F1C41 #1A3173 #2547A5 #355FD2 #6787DD

Accessibility & contrast

On white

8.32
#2547A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2547A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2547A5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547A5#FFFFFF#000000##FFFFFF
##2547A51.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2547a5;
/* rgb */ color: rgb(37, 71, 165);
/* oklch */ color: oklch(43.2% 0.157 265.2);
Tailwind
colors: {
  custom: {
    50: '#7479c0',
    500: '#2547a5',
    950: '#000000',
  },
}
SCSS
$custom: #2547a5;
$custom-light: #7479c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2547a5",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 224.063,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43211,
    "c": 0.15698,
    "h": 265.2
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#2547A5
secondary
#C3A963
accent
#BB41E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2547A5

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

Preview Lab → · Contrast checker → · Palette generator →

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