#2543B2#2543B2

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

Color values

HEX#2543B2
RGBrgb(37, 67, 178)
HSLhsl(227, 66%, 42%)
HSVhsv(227, 79%, 70%)
CMYKcmyk(79.2%, 62.4%, 0%, 30.2%)
CIE-LABlab(33.18, 30.22, -61.96)
CIE-LCHlch(33.18, 68.93, 296.00°)
OKLaboklab(43.55% -0.0101 -0.1792)
OKLCHoklch(43.55% 0.179 266.8)
XYZxyz(10.8032, 7.6207, 43.0124)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543B2 #B29425
analogous
#258AB2 #2543B2 #4E25B2
triadic
#2543B2 #B22543 #43B225
tetradic
#2543B2 #B2258A #B29425 #25B24E
square
#2543B2 #B2258A #B29425 #25B24E
split-complementary
#2543B2 #B24E25 #8AB225
monochromatic
#101D4D #1A307F #2543B2 #3D5ED7 #7088E1

Accessibility & contrast

On white

8.32
#2543B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2543B2#FFFFFF#000000##FFFFFF
##2543B21.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2543b2;
/* rgb */ color: rgb(37, 67, 178);
/* oklch */ color: oklch(43.6% 0.179 266.8);
Tailwind
colors: {
  custom: {
    50: '#7776ca',
    500: '#2543b2',
    950: '#000000',
  },
}
SCSS
$custom: #2543b2;
$custom-light: #7776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2543b2",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 227.234,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43553,
    "c": 0.17949,
    "h": 266.8
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#2543B2
secondary
#C8B46B
accent
#C53FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2543B2

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

Preview Lab → · Contrast checker → · Palette generator →

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