#2547A7#2547A7

#2547A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.160 H 265.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2547A7
RGBrgb(37, 71, 167)
HSLhsl(224, 64%, 40%)
HSVhsv(224, 78%, 65%)
CMYKcmyk(77.8%, 57.5%, 0%, 34.5%)
CIE-LABlab(33.33, 23.34, -55.16)
CIE-LCHlch(33.33, 59.89, 292.94°)
OKLaboklab(43.38% -0.013 -0.1592)
OKLCHoklch(43.38% 0.16 265.3)
XYZxyz(9.9888, 7.6887, 37.5093)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547A7 #A78525
analogous
#2588A7 #2547A7 #4425A7
triadic
#2547A7 #A72547 #47A725
tetradic
#2547A7 #A72588 #A78525 #25A744
square
#2547A7 #A72588 #A78525 #25A744
split-complementary
#2547A7 #A74425 #88A725
monochromatic
#0F1C43 #1A3275 #2547A7 #375FD3 #6987DE

Accessibility & contrast

On white

8.27
#2547A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2547A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2547A7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547A7#FFFFFF#000000##FFFFFF
##2547A71.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2547a7;
/* rgb */ color: rgb(37, 71, 167);
/* oklch */ color: oklch(43.4% 0.160 265.3);
Tailwind
colors: {
  custom: {
    50: '#7479c2',
    500: '#2547a7',
    950: '#000000',
  },
}
SCSS
$custom: #2547a7;
$custom-light: #7479c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2547a7",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 224.308,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.15973,
    "h": 265.3
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#2547A7
secondary
#C4AB64
accent
#BB41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2547A7

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

Preview Lab → · Contrast checker → · Palette generator →

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