#2546AC#2546AC

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

Color values

HEX#2546AC
RGBrgb(37, 70, 172)
HSLhsl(225, 65%, 41%)
HSVhsv(225, 78%, 67%)
CMYKcmyk(78.5%, 59.3%, 0%, 32.5%)
CIE-LABlab(33.46, 25.94, -57.93)
CIE-LCHlch(33.46, 63.47, 294.12°)
OKLaboklab(43.6% -0.0121 -0.1674)
OKLCHoklch(43.6% 0.168 265.9)
XYZxyz(10.3969, 7.7510, 39.9699)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546AC #AC8B25
analogous
#2589AC #2546AC #4725AC
triadic
#2546AC #AC2546 #46AC25
tetradic
#2546AC #AC2589 #AC8B25 #25AC47
square
#2546AC #AC2589 #AC8B25 #25AC47
split-complementary
#2546AC #AC4725 #89AC25
monochromatic
#0F1D47 #1A327A #2546AC #3A60D5 #6C88DF

Accessibility & contrast

On white

8.23
#2546AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2546AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546AC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546AC#FFFFFF#000000##FFFFFF
##2546AC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2546ac;
/* rgb */ color: rgb(37, 70, 172);
/* oklch */ color: oklch(43.6% 0.168 265.9);
Tailwind
colors: {
  custom: {
    50: '#7579c6',
    500: '#2546ac',
    950: '#000000',
  },
}
SCSS
$custom: #2546ac;
$custom-light: #7579c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2546ac",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 225.333,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43604,
    "c": 0.16779,
    "h": 265.9
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2546AC

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

Preview Lab → · Contrast checker → · Palette generator →

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