#2543A2#2543A2

#2543A2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.158 H 266.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2543A2
RGBrgb(37, 67, 162)
HSLhsl(226, 63%, 39%)
HSVhsv(226, 77%, 64%)
CMYKcmyk(77.2%, 58.6%, 0%, 36.5%)
CIE-LABlab(31.84, 24.10, -54.57)
CIE-LCHlch(31.84, 59.66, 293.83°)
OKLaboklab(42.14% -0.0103 -0.1575)
OKLCHoklch(42.14% 0.158 266.2)
XYZxyz(9.2894, 7.0152, 35.0399)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543A2 #A28425
analogous
#2582A2 #2543A2 #4625A2
triadic
#2543A2 #A22543 #43A225
tetradic
#2543A2 #A22582 #A28425 #25A246
square
#2543A2 #A22582 #A28425 #25A246
split-complementary
#2543A2 #A24625 #82A225
monochromatic
#0E1A3E #1A2E70 #2543A2 #3459D1 #6582DC

Accessibility & contrast

On white

8.74
#2543A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2543A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2543A2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2543A2#FFFFFF#000000##FFFFFF
##2543A21.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2543a2;
/* rgb */ color: rgb(37, 67, 162);
/* oklch */ color: oklch(42.1% 0.158 266.2);
Tailwind
colors: {
  custom: {
    50: '#7376be',
    500: '#2543a2',
    950: '#000000',
  },
}
SCSS
$custom: #2543a2;
$custom-light: #7376be;
$custom-dark: #000000;
JSON
{
  "hex": "#2543a2",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 225.6,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.15788,
    "h": 266.2
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2543A2

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

Preview Lab → · Contrast checker → · Palette generator →

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