#2547AC#2547AC

#2547AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.167 H 265.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2547AC
RGBrgb(37, 71, 172)
HSLhsl(225, 65%, 41%)
HSVhsv(225, 78%, 67%)
CMYKcmyk(78.5%, 58.7%, 0%, 32.5%)
CIE-LABlab(33.73, 25.27, -57.49)
CIE-LCHlch(33.73, 62.80, 293.73°)
OKLaboklab(43.8% -0.0127 -0.1661)
OKLCHoklch(43.8% 0.167 265.6)
XYZxyz(10.4600, 7.8772, 39.9909)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547AC #AC8A25
analogous
#258AAC #2547AC #4625AC
triadic
#2547AC #AC2547 #47AC25
tetradic
#2547AC #AC258A #AC8A25 #25AC46
square
#2547AC #AC258A #AC8A25 #25AC46
split-complementary
#2547AC #AC4625 #8AAC25
monochromatic
#0F1D47 #1A327A #2547AC #3A61D5 #6C89DF

Accessibility & contrast

On white

8.15
#2547AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2547AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2547AC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547AC#FFFFFF#000000##FFFFFF
##2547AC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2547ac;
/* rgb */ color: rgb(37, 71, 172);
/* oklch */ color: oklch(43.8% 0.167 265.6);
Tailwind
colors: {
  custom: {
    50: '#7579c6',
    500: '#2547ac',
    950: '#000000',
  },
}
SCSS
$custom: #2547ac;
$custom-light: #7579c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2547ac",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 224.889,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.16656,
    "h": 265.6
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#2547AC
secondary
#C6AE67
accent
#BD40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2547AC

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

Preview Lab → · Contrast checker → · Palette generator →

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