#2543AB#2543AB

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

Color values

HEX#2543AB
RGBrgb(37, 67, 171)
HSLhsl(227, 64%, 41%)
HSVhsv(227, 78%, 67%)
CMYKcmyk(78.4%, 60.8%, 0%, 32.9%)
CIE-LABlab(32.58, 27.56, -58.76)
CIE-LCHlch(32.58, 64.90, 295.13°)
OKLaboklab(42.93% -0.0101 -0.1698)
OKLCHoklch(42.93% 0.17 266.6)
XYZxyz(10.1182, 7.3467, 39.4050)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543AB #AB8D25
analogous
#2586AB #2543AB #4A25AB
triadic
#2543AB #AB2543 #43AB25
tetradic
#2543AB #AB2586 #AB8D25 #25AB4A
square
#2543AB #AB2586 #AB8D25 #25AB4A
split-complementary
#2543AB #AB4A25 #86AB25
monochromatic
#0F1C46 #1A2F79 #2543AB #395CD4 #6B85DF

Accessibility & contrast

On white

8.50
#2543AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2543AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2543AB#FFFFFF#000000##FFFFFF
##2543AB1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2543ab;
/* rgb */ color: rgb(37, 67, 171);
/* oklch */ color: oklch(42.9% 0.170 266.6);
Tailwind
colors: {
  custom: {
    50: '#7576c5',
    500: '#2543ab',
    950: '#000000',
  },
}
SCSS
$custom: #2543ab;
$custom-light: #7576c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2543ab",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 226.567,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42925,
    "c": 0.17014,
    "h": 266.6
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#2543AB
secondary
#C5B067
accent
#C240E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2543AB

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

Preview Lab → · Contrast checker → · Palette generator →

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