#2543A3#2543A3

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

Color values

HEX#2543A3
RGBrgb(37, 67, 163)
HSLhsl(226, 63%, 39%)
HSVhsv(226, 77%, 64%)
CMYKcmyk(77.3%, 58.9%, 0%, 36.1%)
CIE-LABlab(31.92, 24.49, -55.04)
CIE-LCHlch(31.92, 60.24, 293.98°)
OKLaboklab(42.23% -0.0103 -0.1589)
OKLCHoklch(42.23% 0.159 266.3)
XYZxyz(9.3786, 7.0509, 35.5099)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543A3 #A38525
analogous
#2582A3 #2543A3 #4625A3
triadic
#2543A3 #A32543 #43A325
tetradic
#2543A3 #A32582 #A38525 #25A346
square
#2543A3 #A32582 #A38525 #25A346
split-complementary
#2543A3 #A34625 #82A325
monochromatic
#0E1A3F #1A2E71 #2543A3 #345AD1 #6682DC

Accessibility & contrast

On white

8.71
#2543A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2543A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2543A3
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2543A3#FFFFFF#000000##FFFFFF
##2543A31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2543a3;
/* rgb */ color: rgb(37, 67, 163);
/* oklch */ color: oklch(42.2% 0.159 266.3);
Tailwind
colors: {
  custom: {
    50: '#7376bf',
    500: '#2543a3',
    950: '#000000',
  },
}
SCSS
$custom: #2543a3;
$custom-light: #7376bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2543a3",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 225.714,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.15925,
    "h": 266.3
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2543A3

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

Preview Lab → · Contrast checker → · Palette generator →

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