#2543B3#2543B3

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

Color values

HEX#2543B3
RGBrgb(37, 67, 179)
HSLhsl(227, 66%, 42%)
HSVhsv(227, 79%, 70%)
CMYKcmyk(79.3%, 62.6%, 0%, 29.8%)
CIE-LABlab(33.27, 30.59, -62.41)
CIE-LCHlch(33.27, 69.50, 296.12°)
OKLaboklab(43.64% -0.0101 -0.1805)
OKLCHoklch(43.64% 0.181 266.8)
XYZxyz(10.9039, 7.6610, 43.5431)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543B3 #B39525
analogous
#258AB3 #2543B3 #4E25B3
triadic
#2543B3 #B32543 #43B325
tetradic
#2543B3 #B3258A #B39525 #25B34E
square
#2543B3 #B3258A #B39525 #25B34E
split-complementary
#2543B3 #B34E25 #8AB325
monochromatic
#101D4E #1B3080 #2543B3 #3E5ED7 #7189E2

Accessibility & contrast

On white

8.29
#2543B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2543B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2543B3#FFFFFF#000000##FFFFFF
##2543B31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2543b3;
/* rgb */ color: rgb(37, 67, 179);
/* oklch */ color: oklch(43.6% 0.181 266.8);
Tailwind
colors: {
  custom: {
    50: '#7776cb',
    500: '#2543b3',
    950: '#000000',
  },
}
SCSS
$custom: #2543b3;
$custom-light: #7776cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2543b3",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 227.324,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.18081,
    "h": 266.8
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#2543B3
secondary
#C8B56B
accent
#C53FE9
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2543B3

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

Preview Lab → · Contrast checker → · Palette generator →

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