#2543A5#2543A5

#2543A5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.162 H 266.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2543A5
RGBrgb(37, 67, 165)
HSLhsl(226, 63%, 40%)
HSVhsv(226, 78%, 65%)
CMYKcmyk(77.6%, 59.4%, 0%, 35.3%)
CIE-LABlab(32.09, 25.26, -55.98)
CIE-LCHlch(32.09, 61.41, 294.28°)
OKLaboklab(42.4% -0.0102 -0.1617)
OKLCHoklch(42.4% 0.162 266.4)
XYZxyz(9.5593, 7.1232, 36.4611)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543A5 #A58725
analogous
#2583A5 #2543A5 #4725A5
triadic
#2543A5 #A52543 #43A525
tetradic
#2543A5 #A52583 #A58725 #25A547
square
#2543A5 #A52583 #A58725 #25A547
split-complementary
#2543A5 #A54725 #83A525
monochromatic
#0F1A41 #1A2F73 #2543A5 #355AD2 #6783DD

Accessibility & contrast

On white

8.66
#2543A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2543A5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2543A5#FFFFFF#000000##FFFFFF
##2543A51.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2543a5;
/* rgb */ color: rgb(37, 67, 165);
/* oklch */ color: oklch(42.4% 0.162 266.4);
Tailwind
colors: {
  custom: {
    50: '#7476c0',
    500: '#2543a5',
    950: '#000000',
  },
}
SCSS
$custom: #2543a5;
$custom-light: #7476c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2543a5",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 165
  },
  "hsl": {
    "h": 225.938,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42399,
    "c": 0.16199,
    "h": 266.4
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#2543A5
secondary
#C3AC63
accent
#C041E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2543A5

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

Preview Lab → · Contrast checker → · Palette generator →

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