#2546AB#2546AB

#2546AB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.166 H 265.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2546AB
RGBrgb(37, 70, 171)
HSLhsl(225, 64%, 41%)
HSVhsv(225, 78%, 67%)
CMYKcmyk(78.4%, 59.1%, 0%, 32.9%)
CIE-LABlab(33.38, 25.56, -57.47)
CIE-LCHlch(33.38, 62.89, 293.98°)
OKLaboklab(43.52% -0.0121 -0.166)
OKLCHoklch(43.52% 0.166 265.8)
XYZxyz(10.3012, 7.7127, 39.4660)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546AB #AB8A25
analogous
#2589AB #2546AB #4725AB
triadic
#2546AB #AB2546 #46AB25
tetradic
#2546AB #AB2589 #AB8A25 #25AB47
square
#2546AB #AB2589 #AB8A25 #25AB47
split-complementary
#2546AB #AB4725 #89AB25
monochromatic
#0F1D46 #1A3179 #2546AB #395FD4 #6B88DF

Accessibility & contrast

On white

8.26
#2546AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2546AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546AB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546AB#FFFFFF#000000##FFFFFF
##2546AB1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2546ab;
/* rgb */ color: rgb(37, 70, 171);
/* oklch */ color: oklch(43.5% 0.166 265.8);
Tailwind
colors: {
  custom: {
    50: '#7579c5',
    500: '#2546ab',
    950: '#000000',
  },
}
SCSS
$custom: #2546ab;
$custom-light: #7579c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2546ab",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 225.224,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.16644,
    "h": 265.8
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#2546AB
secondary
#C5AE67
accent
#BE40E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2546AB

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

Preview Lab → · Contrast checker → · Palette generator →

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