#2547A9#2547A9

#2547A9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.162 H 265.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2547A9
RGBrgb(37, 71, 169)
HSLhsl(225, 64%, 40%)
HSVhsv(225, 78%, 66%)
CMYKcmyk(78.1%, 58%, 0%, 33.7%)
CIE-LABlab(33.48, 24.12, -56.10)
CIE-LCHlch(33.48, 61.06, 293.26°)
OKLaboklab(43.55% -0.0129 -0.162)
OKLCHoklch(43.55% 0.162 265.5)
XYZxyz(10.1751, 7.7632, 38.4906)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547A9 #A98725
analogous
#2589A9 #2547A9 #4525A9
triadic
#2547A9 #A92547 #47A925
tetradic
#2547A9 #A92589 #A98725 #25A945
square
#2547A9 #A92589 #A98725 #25A945
split-complementary
#2547A9 #A94525 #89A925
monochromatic
#0F1D45 #1A3277 #2547A9 #3860D3 #6A88DE

Accessibility & contrast

On white

8.23
#2547A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2547A9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547A9#FFFFFF#000000##FFFFFF
##2547A91.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2547a9;
/* rgb */ color: rgb(37, 71, 169);
/* oklch */ color: oklch(43.5% 0.162 265.5);
Tailwind
colors: {
  custom: {
    50: '#7579c3',
    500: '#2547a9',
    950: '#000000',
  },
}
SCSS
$custom: #2547a9;
$custom-light: #7579c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2547a9",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 224.545,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.16247,
    "h": 265.5
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#2547A9
secondary
#C4AC65
accent
#BC41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2547A9

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

Preview Lab → · Contrast checker → · Palette generator →

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