#2543A4#2543A4

#2543A4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.161 H 266.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2543A4
RGBrgb(37, 67, 164)
HSLhsl(226, 63%, 39%)
HSVhsv(226, 77%, 64%)
CMYKcmyk(77.4%, 59.1%, 0%, 35.7%)
CIE-LABlab(32.00, 24.87, -55.51)
CIE-LCHlch(32.00, 60.83, 294.14°)
OKLaboklab(42.31% -0.0103 -0.1603)
OKLCHoklch(42.31% 0.161 266.3)
XYZxyz(9.4686, 7.0869, 35.9836)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543A4 #A48625
analogous
#2583A4 #2543A4 #4725A4
triadic
#2543A4 #A42543 #43A425
tetradic
#2543A4 #A42583 #A48625 #25A447
square
#2543A4 #A42583 #A48625 #25A447
split-complementary
#2543A4 #A44725 #83A425
monochromatic
#0E1A40 #1A2F72 #2543A4 #355AD1 #6783DD

Accessibility & contrast

On white

8.69
#2543A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2543A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2543A4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2543A4#FFFFFF#000000##FFFFFF
##2543A41.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2543a4;
/* rgb */ color: rgb(37, 67, 164);
/* oklch */ color: oklch(42.3% 0.161 266.3);
Tailwind
colors: {
  custom: {
    50: '#7476c0',
    500: '#2543a4',
    950: '#000000',
  },
}
SCSS
$custom: #2543a4;
$custom-light: #7476c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2543a4",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 225.827,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.16063,
    "h": 266.3
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#2543A4
secondary
#C2AC62
accent
#BF42E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2543A4

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

Preview Lab → · Contrast checker → · Palette generator →

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