#2547A8#2547A8

#2547A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.161 H 265.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2547A8
RGBrgb(37, 71, 168)
HSLhsl(224, 64%, 40%)
HSVhsv(224, 78%, 66%)
CMYKcmyk(78%, 57.7%, 0%, 34.1%)
CIE-LABlab(33.41, 23.73, -55.63)
CIE-LCHlch(33.41, 60.48, 293.10°)
OKLaboklab(43.46% -0.0129 -0.1606)
OKLCHoklch(43.46% 0.161 265.4)
XYZxyz(10.0816, 7.7258, 37.9981)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547A8 #A88625
analogous
#2589A8 #2547A8 #4425A8
triadic
#2547A8 #A82547 #47A825
tetradic
#2547A8 #A82589 #A88625 #25A844
square
#2547A8 #A82589 #A88625 #25A844
split-complementary
#2547A8 #A84425 #89A825
monochromatic
#0F1D44 #1A3276 #2547A8 #3760D3 #6988DE

Accessibility & contrast

On white

8.25
#2547A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2547A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2547A8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547A8#FFFFFF#000000##FFFFFF
##2547A81.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2547a8;
/* rgb */ color: rgb(37, 71, 168);
/* oklch */ color: oklch(43.5% 0.161 265.4);
Tailwind
colors: {
  custom: {
    50: '#7479c3',
    500: '#2547a8',
    950: '#000000',
  },
}
SCSS
$custom: #2547a8;
$custom-light: #7479c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2547a8",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 224.427,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.1611,
    "h": 265.4
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#2547A8
secondary
#C4AB65
accent
#BC41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2547A8

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

Preview Lab → · Contrast checker → · Palette generator →

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