#2547A1#2547A1

#2547A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.151 H 264.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2547A1
RGBrgb(37, 71, 161)
HSLhsl(224, 63%, 39%)
HSVhsv(224, 77%, 63%)
CMYKcmyk(77%, 55.9%, 0%, 36.9%)
CIE-LABlab(32.86, 21.01, -52.32)
CIE-LCHlch(32.86, 56.38, 291.88°)
OKLaboklab(42.88% -0.0133 -0.1509)
OKLCHoklch(42.88% 0.151 264.9)
XYZxyz(9.4469, 7.4719, 34.6556)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547A1 #A17F25
analogous
#2585A1 #2547A1 #4125A1
triadic
#2547A1 #A12547 #47A125
tetradic
#2547A1 #A12585 #A17F25 #25A141
square
#2547A1 #A12585 #A17F25 #25A141
split-complementary
#2547A1 #A14125 #85A125
monochromatic
#0E1B3D #1A316F #2547A1 #335ED0 #6585DC

Accessibility & contrast

On white

8.42
#2547A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2547A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2547A1
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547A1#FFFFFF#000000##FFFFFF
##2547A11.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2547a1;
/* rgb */ color: rgb(37, 71, 161);
/* oklch */ color: oklch(42.9% 0.151 264.9);
Tailwind
colors: {
  custom: {
    50: '#7379bd',
    500: '#2547a1',
    950: '#000000',
  },
}
SCSS
$custom: #2547a1;
$custom-light: #7379bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2547a1",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 223.548,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42879,
    "c": 0.15144,
    "h": 264.9
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#2547A1
secondary
#C1A761
accent
#B942E6
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2547A1

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

Preview Lab → · Contrast checker → · Palette generator →

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