#2543B1#2543B1

#2543B1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.178 H 266.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2543B1
RGBrgb(37, 67, 177)
HSLhsl(227, 65%, 42%)
HSVhsv(227, 79%, 69%)
CMYKcmyk(79.1%, 62.1%, 0%, 30.6%)
CIE-LABlab(33.09, 29.84, -61.50)
CIE-LCHlch(33.09, 68.36, 295.88°)
OKLaboklab(43.46% -0.0101 -0.1779)
OKLCHoklch(43.46% 0.178 266.8)
XYZxyz(10.7031, 7.5807, 42.4856)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543B1 #B19325
analogous
#2589B1 #2543B1 #4D25B1
triadic
#2543B1 #B12543 #43B125
tetradic
#2543B1 #B12589 #B19325 #25B14D
square
#2543B1 #B12589 #B19325 #25B14D
split-complementary
#2543B1 #B14D25 #89B125
monochromatic
#101D4C #1A307E #2543B1 #3D5ED6 #6F88E1

Accessibility & contrast

On white

8.35
#2543B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2543B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2543B1#FFFFFF#000000##FFFFFF
##2543B11.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2543b1;
/* rgb */ color: rgb(37, 67, 177);
/* oklch */ color: oklch(43.5% 0.178 266.8);
Tailwind
colors: {
  custom: {
    50: '#7776c9',
    500: '#2543b1',
    950: '#000000',
  },
}
SCSS
$custom: #2543b1;
$custom-light: #7776c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2543b1",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 227.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.17817,
    "h": 266.8
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#2543B1
secondary
#C8B46A
accent
#C43FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2543B1

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

Preview Lab → · Contrast checker → · Palette generator →

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