#2546A5#2546A5

#2546A5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.158 H 265.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2546A5
RGBrgb(37, 70, 165)
HSLhsl(225, 63%, 40%)
HSVhsv(225, 78%, 65%)
CMYKcmyk(77.6%, 57.6%, 0%, 35.3%)
CIE-LABlab(32.90, 23.24, -54.66)
CIE-LCHlch(32.90, 59.40, 293.03°)
OKLaboklab(43.01% -0.0123 -0.1577)
OKLCHoklch(43.01% 0.158 265.5)
XYZxyz(9.7422, 7.4891, 36.5221)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546A5 #A58425
analogous
#2586A5 #2546A5 #4425A5
triadic
#2546A5 #A52546 #46A525
tetradic
#2546A5 #A52586 #A58425 #25A544
square
#2546A5 #A52586 #A58425 #25A544
split-complementary
#2546A5 #A54425 #86A525
monochromatic
#0F1C41 #1A3173 #2546A5 #355ED2 #6786DD

Accessibility & contrast

On white

8.41
#2546A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2546A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546A5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546A5#FFFFFF#000000##FFFFFF
##2546A51.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2546a5;
/* rgb */ color: rgb(37, 70, 165);
/* oklch */ color: oklch(43.0% 0.158 265.5);
Tailwind
colors: {
  custom: {
    50: '#7479c0',
    500: '#2546a5',
    950: '#000000',
  },
}
SCSS
$custom: #2546a5;
$custom-light: #7479c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2546a5",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 224.531,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.15823,
    "h": 265.5
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#2546A5
secondary
#C3AA63
accent
#BC41E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2546A5

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

Preview Lab → · Contrast checker → · Palette generator →

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