#2547B0#2547B0

#2547B0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.172 H 265.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2547B0
RGBrgb(37, 71, 176)
HSLhsl(225, 65%, 42%)
HSVhsv(225, 79%, 69%)
CMYKcmyk(79%, 59.7%, 0%, 31%)
CIE-LABlab(34.05, 26.81, -59.34)
CIE-LCHlch(34.05, 65.12, 294.31°)
OKLaboklab(44.15% -0.0126 -0.1715)
OKLCHoklch(44.15% 0.172 265.8)
XYZxyz(10.8499, 8.0331, 42.0446)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547B0 #B08E25
analogous
#258DB0 #2547B0 #4925B0
triadic
#2547B0 #B02547 #47B025
tetradic
#2547B0 #B0258D #B08E25 #25B049
square
#2547B0 #B0258D #B08E25 #25B049
split-complementary
#2547B0 #B04925 #8DB025
monochromatic
#101E4B #1A337D #2547B0 #3C62D6 #6F8BE1

Accessibility & contrast

On white

8.06
#2547B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2547B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2547B0#FFFFFF#000000##FFFFFF
##2547B01.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2547b0;
/* rgb */ color: rgb(37, 71, 176);
/* oklch */ color: oklch(44.1% 0.172 265.8);
Tailwind
colors: {
  custom: {
    50: '#7679c8',
    500: '#2547b0',
    950: '#000000',
  },
}
SCSS
$custom: #2547b0;
$custom-light: #7679c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2547b0",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 225.324,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44149,
    "c": 0.17195,
    "h": 265.8
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#2547B0
secondary
#C7B06A
accent
#BF40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2547B0

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

Preview Lab → · Contrast checker → · Palette generator →

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