#2546A7#2546A7

#2546A7 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.161 H 265.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2546A7
RGBrgb(37, 70, 167)
HSLhsl(225, 64%, 40%)
HSVhsv(225, 78%, 65%)
CMYKcmyk(77.8%, 58.1%, 0%, 34.5%)
CIE-LABlab(33.05, 24.01, -55.60)
CIE-LCHlch(33.05, 60.56, 293.36°)
OKLaboklab(43.18% -0.0122 -0.1605)
OKLCHoklch(43.18% 0.161 265.6)
XYZxyz(9.9257, 7.5625, 37.4883)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546A7 #A78625
analogous
#2587A7 #2546A7 #4525A7
triadic
#2546A7 #A72546 #46A725
tetradic
#2546A7 #A72587 #A78625 #25A745
square
#2546A7 #A72587 #A78625 #25A745
split-complementary
#2546A7 #A74525 #87A725
monochromatic
#0F1C43 #1A3175 #2546A7 #375ED3 #6986DE

Accessibility & contrast

On white

8.36
#2546A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2546A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546A7
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546A7#FFFFFF#000000##FFFFFF
##2546A71.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2546a7;
/* rgb */ color: rgb(37, 70, 167);
/* oklch */ color: oklch(43.2% 0.161 265.6);
Tailwind
colors: {
  custom: {
    50: '#7479c2',
    500: '#2546a7',
    950: '#000000',
  },
}
SCSS
$custom: #2546a7;
$custom-light: #7479c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2546a7",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 224.769,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.16099,
    "h": 265.6
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#2546A7
secondary
#C4AB64
accent
#BD41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2546A7

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

Preview Lab → · Contrast checker → · Palette generator →

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