#2543BA#2543BA

#2543BA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.190 H 266.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2543BA
RGBrgb(37, 67, 186)
HSLhsl(228, 67%, 44%)
HSVhsv(228, 80%, 73%)
CMYKcmyk(80.1%, 64%, 0%, 27.1%)
CIE-LABlab(33.88, 33.22, -65.54)
CIE-LCHlch(33.88, 73.48, 296.88°)
OKLaboklab(44.29% -0.0102 -0.1897)
OKLCHoklch(44.29% 0.19 266.9)
XYZxyz(11.6299, 7.9514, 47.3667)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543BA #BA9C25
analogous
#258DBA #2543BA #5125BA
triadic
#2543BA #BA2543 #43BA25
tetradic
#2543BA #BA258D #BA9C25 #25BA51
square
#2543BA #BA258D #BA9C25 #25BA51
split-complementary
#2543BA #BA5125 #8DBA25
monochromatic
#111E54 #1B3187 #2543BA #4361DA #768CE4

Accessibility & contrast

On white

8.11
#2543BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2543BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2543BA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2543BA#FFFFFF#000000##FFFFFF
##2543BA1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2543ba;
/* rgb */ color: rgb(37, 67, 186);
/* oklch */ color: oklch(44.3% 0.190 266.9);
Tailwind
colors: {
  custom: {
    50: '#7977d0',
    500: '#2543ba',
    950: '#000000',
  },
}
SCSS
$custom: #2543ba;
$custom-light: #7977d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2543ba",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 227.919,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.18998,
    "h": 266.9
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#2543BA
secondary
#CBB970
accent
#C73EEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2543BA

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

Preview Lab → · Contrast checker → · Palette generator →

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