#2547A6#2547A6

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

Color values

HEX#2547A6
RGBrgb(37, 71, 166)
HSLhsl(224, 64%, 40%)
HSVhsv(224, 78%, 65%)
CMYKcmyk(77.7%, 57.2%, 0%, 34.9%)
CIE-LABlab(33.25, 22.96, -54.69)
CIE-LCHlch(33.25, 59.31, 292.77°)
OKLaboklab(43.3% -0.013 -0.1578)
OKLCHoklch(43.3% 0.158 265.3)
XYZxyz(9.8967, 7.6518, 37.0244)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547A6 #A68425
analogous
#2588A6 #2547A6 #4325A6
triadic
#2547A6 #A62547 #47A625
tetradic
#2547A6 #A62588 #A68425 #25A643
square
#2547A6 #A62588 #A68425 #25A643
split-complementary
#2547A6 #A64325 #88A625
monochromatic
#0F1C42 #1A3274 #2547A6 #365FD2 #6887DD

Accessibility & contrast

On white

8.30
#2547A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2547A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2547A6
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547A6#FFFFFF#000000##FFFFFF
##2547A61.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2547a6;
/* rgb */ color: rgb(37, 71, 166);
/* oklch */ color: oklch(43.3% 0.158 265.3);
Tailwind
colors: {
  custom: {
    50: '#7479c1',
    500: '#2547a6',
    950: '#000000',
  },
}
SCSS
$custom: #2547a6;
$custom-light: #7479c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2547a6",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 224.186,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.15836,
    "h": 265.3
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#2547A6
secondary
#C3AA64
accent
#BB41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2547A6

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

Preview Lab → · Contrast checker → · Palette generator →

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