#2547C4#2547C4

#2547C4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.198 H 266.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2547C4
RGBrgb(37, 71, 196)
HSLhsl(227, 68%, 46%)
HSVhsv(227, 81%, 77%)
CMYKcmyk(81.1%, 63.8%, 0%, 23.1%)
CIE-LABlab(35.76, 34.36, -68.33)
CIE-LCHlch(35.76, 76.48, 296.70°)
OKLaboklab(45.95% -0.0126 -0.1978)
OKLCHoklch(45.95% 0.198 266.4)
XYZxyz(12.9765, 8.8838, 53.2447)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547C4 #C4A225
analogous
#2596C4 #2547C4 #5325C4
triadic
#2547C4 #C42547 #47C425
tetradic
#2547C4 #C42596 #C4A225 #25C453
square
#2547C4 #C42596 #C4A225 #25C453
split-complementary
#2547C4 #C45325 #96C425
monochromatic
#12225D #1B3491 #2547C4 #4969DD #7D94E6

Accessibility & contrast

On white

7.56
#2547C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2547C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2547C4#FFFFFF#000000##FFFFFF
##2547C41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2547c4;
/* rgb */ color: rgb(37, 71, 196);
/* oklch */ color: oklch(45.9% 0.198 266.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ad7',
    500: '#2547c4',
    950: '#000000',
  },
}
SCSS
$custom: #2547c4;
$custom-light: #7b7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#2547c4",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 227.17,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.19822,
    "h": 266.4
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#2547C4
secondary
#CFBC76
accent
#C63DEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #2547C4

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

Preview Lab → · Contrast checker → · Palette generator →

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