#2547BA#2547BA

#2547BA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.185 H 266.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2547BA
RGBrgb(37, 71, 186)
HSLhsl(226, 67%, 44%)
HSVhsv(226, 80%, 73%)
CMYKcmyk(80.1%, 61.8%, 0%, 27.1%)
CIE-LABlab(34.89, 30.61, -63.89)
CIE-LCHlch(34.89, 70.84, 295.60°)
OKLaboklab(45.03% -0.0125 -0.1848)
OKLCHoklch(45.03% 0.185 266.1)
XYZxyz(11.8760, 8.4436, 47.4487)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547BA #BA9825
analogous
#2591BA #2547BA #4D25BA
triadic
#2547BA #BA2547 #47BA25
tetradic
#2547BA #BA2591 #BA9825 #25BA4D
square
#2547BA #BA2591 #BA9825 #25BA4D
split-complementary
#2547BA #BA4D25 #91BA25
monochromatic
#112054 #1B3487 #2547BA #4365DA #768FE4

Accessibility & contrast

On white

7.81
#2547BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2547BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2547BA#FFFFFF#000000##FFFFFF
##2547BA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2547ba;
/* rgb */ color: rgb(37, 71, 186);
/* oklch */ color: oklch(45.0% 0.185 266.1);
Tailwind
colors: {
  custom: {
    50: '#7979d0',
    500: '#2547ba',
    950: '#000000',
  },
}
SCSS
$custom: #2547ba;
$custom-light: #7979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2547ba",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 226.309,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.18524,
    "h": 266.1
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#2547BA
secondary
#CBB670
accent
#C33EEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2547BA

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

Preview Lab → · Contrast checker → · Palette generator →

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