#2547B3#2547B3

#2547B3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.176 H 265.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2547B3
RGBrgb(37, 71, 179)
HSLhsl(226, 66%, 42%)
HSVhsv(226, 79%, 70%)
CMYKcmyk(79.3%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.30, 27.95, -60.72)
CIE-LCHlch(34.30, 66.84, 294.72°)
OKLaboklab(44.41% -0.0125 -0.1755)
OKLCHoklch(44.41% 0.176 265.9)
XYZxyz(11.1500, 8.1532, 43.6252)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547B3 #B39125
analogous
#258EB3 #2547B3 #4A25B3
triadic
#2547B3 #B32547 #47B325
tetradic
#2547B3 #B3258E #B39125 #25B34A
square
#2547B3 #B3258E #B39125 #25B34A
split-complementary
#2547B3 #B34A25 #8EB325
monochromatic
#101F4E #1B3380 #2547B3 #3E63D7 #718CE2

Accessibility & contrast

On white

7.98
#2547B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2547B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2547B3#FFFFFF#000000##FFFFFF
##2547B31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2547b3;
/* rgb */ color: rgb(37, 71, 179);
/* oklch */ color: oklch(44.4% 0.176 265.9);
Tailwind
colors: {
  custom: {
    50: '#7779cb',
    500: '#2547b3',
    950: '#000000',
  },
}
SCSS
$custom: #2547b3;
$custom-light: #7779cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2547b3",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 225.634,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.17598,
    "h": 265.9
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#2547B3
secondary
#C8B26B
accent
#C03FE9
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2547B3

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

Preview Lab → · Contrast checker → · Palette generator →

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