#2547AA#2547AA

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

Color values

HEX#2547AA
RGBrgb(37, 71, 170)
HSLhsl(225, 64%, 41%)
HSVhsv(225, 78%, 67%)
CMYKcmyk(78.2%, 58.2%, 0%, 33.3%)
CIE-LABlab(33.56, 24.50, -56.56)
CIE-LCHlch(33.56, 61.64, 293.42°)
OKLaboklab(43.63% -0.0128 -0.1633)
OKLCHoklch(43.63% 0.164 265.5)
XYZxyz(10.2693, 7.8009, 38.9869)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547AA #AA8825
analogous
#2589AA #2547AA #4625AA
triadic
#2547AA #AA2547 #47AA25
tetradic
#2547AA #AA2589 #AA8825 #25AA46
square
#2547AA #AA2589 #AA8825 #25AA46
split-complementary
#2547AA #AA4625 #89AA25
monochromatic
#0F1D45 #1A3278 #2547AA #3860D4 #6B88DF

Accessibility & contrast

On white

8.20
#2547AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2547AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2547AA#FFFFFF#000000##FFFFFF
##2547AA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2547aa;
/* rgb */ color: rgb(37, 71, 170);
/* oklch */ color: oklch(43.6% 0.164 265.5);
Tailwind
colors: {
  custom: {
    50: '#7579c4',
    500: '#2547aa',
    950: '#000000',
  },
}
SCSS
$custom: #2547aa;
$custom-light: #7579c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2547aa",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 224.662,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43633,
    "c": 0.16383,
    "h": 265.5
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#2547AA
secondary
#C5AD66
accent
#BD41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2547AA

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

Preview Lab → · Contrast checker → · Palette generator →

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