#2547A3#2547A3

#2547A3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.154 H 265.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2547A3
RGBrgb(37, 71, 163)
HSLhsl(224, 63%, 39%)
HSVhsv(224, 77%, 64%)
CMYKcmyk(77.3%, 56.4%, 0%, 36.1%)
CIE-LABlab(33.01, 21.79, -53.27)
CIE-LCHlch(33.01, 57.55, 292.25°)
OKLaboklab(43.05% -0.0132 -0.1536)
OKLCHoklch(43.05% 0.154 265.1)
XYZxyz(9.6247, 7.5431, 35.5919)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547A3 #A38125
analogous
#2586A3 #2547A3 #4225A3
triadic
#2547A3 #A32547 #47A325
tetradic
#2547A3 #A32586 #A38125 #25A342
square
#2547A3 #A32586 #A38125 #25A342
split-complementary
#2547A3 #A34225 #86A325
monochromatic
#0E1C3F #1A3171 #2547A3 #345FD1 #6686DC

Accessibility & contrast

On white

8.37
#2547A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2547A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2547A3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547A3#FFFFFF#000000##FFFFFF
##2547A31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2547a3;
/* rgb */ color: rgb(37, 71, 163);
/* oklch */ color: oklch(43.0% 0.154 265.1);
Tailwind
colors: {
  custom: {
    50: '#7379bf',
    500: '#2547a3',
    950: '#000000',
  },
}
SCSS
$custom: #2547a3;
$custom-light: #7379bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2547a3",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 223.81,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43045,
    "c": 0.15422,
    "h": 265.1
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#2547A3
secondary
#C2A862
accent
#BA42E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2547A3

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

Preview Lab → · Contrast checker → · Palette generator →

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