#2543AA#2543AA

#2543AA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.169 H 266.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2543AA
RGBrgb(37, 67, 170)
HSLhsl(226, 64%, 41%)
HSVhsv(226, 78%, 67%)
CMYKcmyk(78.2%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.50, 27.18, -58.30)
CIE-LCHlch(32.50, 64.32, 294.99°)
OKLaboklab(42.84% -0.0101 -0.1685)
OKLCHoklch(42.84% 0.169 266.6)
XYZxyz(10.0233, 7.3088, 38.9049)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543AA #AA8C25
analogous
#2585AA #2543AA #4925AA
triadic
#2543AA #AA2543 #43AA25
tetradic
#2543AA #AA2585 #AA8C25 #25AA49
square
#2543AA #AA2585 #AA8C25 #25AA49
split-complementary
#2543AA #AA4925 #85AA25
monochromatic
#0F1B45 #1A2F78 #2543AA #385BD4 #6B85DF

Accessibility & contrast

On white

8.53
#2543AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2543AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2543AA#FFFFFF#000000##FFFFFF
##2543AA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2543aa;
/* rgb */ color: rgb(37, 67, 170);
/* oklch */ color: oklch(42.8% 0.169 266.6);
Tailwind
colors: {
  custom: {
    50: '#7576c4',
    500: '#2543aa',
    950: '#000000',
  },
}
SCSS
$custom: #2543aa;
$custom-light: #7576c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2543aa",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 226.466,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.16879,
    "h": 266.6
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#2543AA
secondary
#C5AF66
accent
#C241E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2543AA

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

Preview Lab → · Contrast checker → · Palette generator →

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