#2546AD#2546AD

#2546AD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.169 H 265.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2546AD
RGBrgb(37, 70, 173)
HSLhsl(225, 65%, 41%)
HSVhsv(225, 79%, 68%)
CMYKcmyk(78.6%, 59.5%, 0%, 32.2%)
CIE-LABlab(33.54, 26.32, -58.39)
CIE-LCHlch(33.54, 64.05, 294.27°)
OKLaboklab(43.69% -0.012 -0.1687)
OKLCHoklch(43.69% 0.169 265.9)
XYZxyz(10.4933, 7.7896, 40.4776)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546AD #AD8C25
analogous
#258AAD #2546AD #4825AD
triadic
#2546AD #AD2546 #46AD25
tetradic
#2546AD #AD258A #AD8C25 #25AD48
square
#2546AD #AD258A #AD8C25 #25AD48
split-complementary
#2546AD #AD4825 #8AAD25
monochromatic
#0F1D48 #1A327B #2546AD #3A60D5 #6D89E0

Accessibility & contrast

On white

8.21
#2546AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2546AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546AD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546AD#FFFFFF#000000##FFFFFF
##2546AD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2546ad;
/* rgb */ color: rgb(37, 70, 173);
/* oklch */ color: oklch(43.7% 0.169 265.9);
Tailwind
colors: {
  custom: {
    50: '#7679c6',
    500: '#2546ad',
    950: '#000000',
  },
}
SCSS
$custom: #2546ad;
$custom-light: #7679c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2546ad",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 225.441,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.16915,
    "h": 265.9
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#2546AD
secondary
#C6AF68
accent
#BF40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2546AD

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

Preview Lab → · Contrast checker → · Palette generator →

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