#2543C4#2543C4

#2543C4 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.2% C 0.203 H 267.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2543C4
RGBrgb(37, 67, 196)
HSLhsl(229, 68%, 46%)
HSVhsv(229, 81%, 77%)
CMYKcmyk(81.1%, 65.8%, 0%, 23.1%)
CIE-LABlab(34.79, 36.92, -69.93)
CIE-LCHlch(34.79, 79.07, 297.83°)
OKLaboklab(45.23% -0.0106 -0.2025)
OKLCHoklch(45.23% 0.203 267)
XYZxyz(12.7304, 8.3916, 53.1626)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2543C4 #C4A625
analogous
#2592C4 #2543C4 #5625C4
triadic
#2543C4 #C42543 #43C425
tetradic
#2543C4 #C42592 #C4A625 #25C456
square
#2543C4 #C42592 #C4A625 #25C456
split-complementary
#2543C4 #C45625 #92C425
monochromatic
#12205D #1B3191 #2543C4 #4965DD #7D91E6

Accessibility & contrast

On white

7.84
#2543C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2543C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2543C4#FFFFFF#000000##FFFFFF
##2543C41.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2543c4;
/* rgb */ color: rgb(37, 67, 196);
/* oklch */ color: oklch(45.2% 0.203 267.0);
Tailwind
colors: {
  custom: {
    50: '#7c77d7',
    500: '#2543c4',
    950: '#000000',
  },
}
SCSS
$custom: #2543c4;
$custom-light: #7c77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2543c4",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 228.679,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45228,
    "c": 0.20281,
    "h": 267
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#2543C4
secondary
#CFBE76
accent
#CA3DEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0815
muted
#7C7B83

Preview Lab

Preview with #2543C4

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

Preview Lab → · Contrast checker → · Palette generator →

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