#2546AA#2546AA

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

Color values

HEX#2546AA
RGBrgb(37, 70, 170)
HSLhsl(225, 64%, 41%)
HSVhsv(225, 78%, 67%)
CMYKcmyk(78.2%, 58.8%, 0%, 33.3%)
CIE-LABlab(33.30, 25.17, -57.00)
CIE-LCHlch(33.30, 62.31, 293.83°)
OKLaboklab(43.43% -0.0121 -0.1646)
OKLCHoklch(43.43% 0.165 265.8)
XYZxyz(10.2063, 7.6747, 38.9659)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546AA #AA8925
analogous
#2588AA #2546AA #4725AA
triadic
#2546AA #AA2546 #46AA25
tetradic
#2546AA #AA2588 #AA8925 #25AA47
square
#2546AA #AA2588 #AA8925 #25AA47
split-complementary
#2546AA #AA4725 #88AA25
monochromatic
#0F1D45 #1A3178 #2546AA #385FD4 #6B87DF

Accessibility & contrast

On white

8.28
#2546AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2546AA#FFFFFF#000000##FFFFFF
##2546AA1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2546aa;
/* rgb */ color: rgb(37, 70, 170);
/* oklch */ color: oklch(43.4% 0.165 265.8);
Tailwind
colors: {
  custom: {
    50: '#7579c4',
    500: '#2546aa',
    950: '#000000',
  },
}
SCSS
$custom: #2546aa;
$custom-light: #7579c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2546aa",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 225.113,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43432,
    "c": 0.16508,
    "h": 265.8
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#2546AA
secondary
#C5AD66
accent
#BE41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2546AA

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

Preview Lab → · Contrast checker → · Palette generator →

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