#2546C4#2546C4

#2546C4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.199 H 266.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2546C4
RGBrgb(37, 70, 196)
HSLhsl(228, 68%, 46%)
HSVhsv(228, 81%, 77%)
CMYKcmyk(81.1%, 64.3%, 0%, 23.1%)
CIE-LABlab(35.51, 35.00, -68.73)
CIE-LCHlch(35.51, 77.13, 296.99°)
OKLaboklab(45.76% -0.0121 -0.199)
OKLCHoklch(45.76% 0.199 266.5)
XYZxyz(12.9134, 8.7576, 53.2236)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546C4 #C4A325
analogous
#2595C4 #2546C4 #5325C4
triadic
#2546C4 #C42546 #46C425
tetradic
#2546C4 #C42595 #C4A325 #25C453
square
#2546C4 #C42595 #C4A325 #25C453
split-complementary
#2546C4 #C45325 #95C425
monochromatic
#12215D #1B3491 #2546C4 #4968DD #7D93E6

Accessibility & contrast

On white

7.63
#2546C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2546C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546C4
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546C4#FFFFFF#000000##FFFFFF
##2546C41.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2546c4;
/* rgb */ color: rgb(37, 70, 196);
/* oklch */ color: oklch(45.8% 0.199 266.5);
Tailwind
colors: {
  custom: {
    50: '#7b79d7',
    500: '#2546c4',
    950: '#000000',
  },
}
SCSS
$custom: #2546c4;
$custom-light: #7b79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2546c4",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 227.547,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45763,
    "c": 0.19938,
    "h": 266.5
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#2546C4
secondary
#CFBC76
accent
#C73DEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #2546C4

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

Preview Lab → · Contrast checker → · Palette generator →

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