#2543A7#2543A7

#2543A7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.165 H 266.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2543A7
RGBrgb(37, 67, 167)
HSLhsl(226, 64%, 40%)
HSVhsv(226, 78%, 65%)
CMYKcmyk(77.8%, 59.9%, 0%, 34.5%)
CIE-LABlab(32.25, 26.03, -56.91)
CIE-LCHlch(32.25, 62.58, 294.58°)
OKLaboklab(42.57% -0.0102 -0.1644)
OKLCHoklch(42.57% 0.165 266.5)
XYZxyz(9.7427, 7.1965, 37.4273)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543A7 #A78925
analogous
#2584A7 #2543A7 #4825A7
triadic
#2543A7 #A72543 #43A725
tetradic
#2543A7 #A72584 #A78925 #25A748
square
#2543A7 #A72584 #A78925 #25A748
split-complementary
#2543A7 #A74825 #84A725
monochromatic
#0F1B43 #1A2F75 #2543A7 #375BD3 #6984DE

Accessibility & contrast

On white

8.61
#2543A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2543A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2543A7
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2543A7#FFFFFF#000000##FFFFFF
##2543A71.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2543a7;
/* rgb */ color: rgb(37, 67, 167);
/* oklch */ color: oklch(42.6% 0.165 266.5);
Tailwind
colors: {
  custom: {
    50: '#7476c2',
    500: '#2543a7',
    950: '#000000',
  },
}
SCSS
$custom: #2543a7;
$custom-light: #7476c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2543a7",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 226.154,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.16472,
    "h": 266.5
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#2543A7
secondary
#C4AE64
accent
#C141E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2543A7

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

Preview Lab → · Contrast checker → · Palette generator →

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