#2546A6#2546A6

#2546A6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.160 H 265.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2546A6
RGBrgb(37, 70, 166)
HSLhsl(225, 64%, 40%)
HSVhsv(225, 78%, 65%)
CMYKcmyk(77.7%, 57.8%, 0%, 34.9%)
CIE-LABlab(32.97, 23.63, -55.13)
CIE-LCHlch(32.97, 59.98, 293.20°)
OKLaboklab(43.09% -0.0123 -0.1591)
OKLCHoklch(43.09% 0.16 265.6)
XYZxyz(9.8336, 7.5257, 37.0033)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546A6 #A68525
analogous
#2587A6 #2546A6 #4425A6
triadic
#2546A6 #A62546 #46A625
tetradic
#2546A6 #A62587 #A68525 #25A644
square
#2546A6 #A62587 #A68525 #25A644
split-complementary
#2546A6 #A64425 #87A625
monochromatic
#0F1C42 #1A3174 #2546A6 #365ED2 #6886DD

Accessibility & contrast

On white

8.38
#2546A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2546A6
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546A6#FFFFFF#000000##FFFFFF
##2546A61.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2546a6;
/* rgb */ color: rgb(37, 70, 166);
/* oklch */ color: oklch(43.1% 0.160 265.6);
Tailwind
colors: {
  custom: {
    50: '#7479c1',
    500: '#2546a6',
    950: '#000000',
  },
}
SCSS
$custom: #2546a6;
$custom-light: #7479c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2546a6",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 166
  },
  "hsl": {
    "h": 224.651,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4309,
    "c": 0.15961,
    "h": 265.6
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#2546A6
secondary
#C3AB64
accent
#BC41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2546A6

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

Preview Lab → · Contrast checker → · Palette generator →

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