#2545AC#2545AC

#2545AC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.169 H 266.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2545AC
RGBrgb(37, 69, 172)
HSLhsl(226, 65%, 41%)
HSVhsv(226, 78%, 67%)
CMYKcmyk(78.5%, 59.9%, 0%, 32.5%)
CIE-LABlab(33.19, 26.61, -58.36)
CIE-LCHlch(33.19, 64.14, 294.51°)
OKLaboklab(43.41% -0.0114 -0.1686)
OKLCHoklch(43.41% 0.169 266.1)
XYZxyz(10.3348, 7.6269, 39.9492)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545AC #AC8C25
analogous
#2588AC #2545AC #4825AC
triadic
#2545AC #AC2545 #45AC25
tetradic
#2545AC #AC2588 #AC8C25 #25AC48
square
#2545AC #AC2588 #AC8C25 #25AC48
split-complementary
#2545AC #AC4825 #88AC25
monochromatic
#0F1D47 #1A317A #2545AC #3A5ED5 #6C87DF

Accessibility & contrast

On white

8.31
#2545AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2545AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545AC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545AC#FFFFFF#000000##FFFFFF
##2545AC1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2545ac;
/* rgb */ color: rgb(37, 69, 172);
/* oklch */ color: oklch(43.4% 0.169 266.1);
Tailwind
colors: {
  custom: {
    50: '#7578c6',
    500: '#2545ac',
    950: '#000000',
  },
}
SCSS
$custom: #2545ac;
$custom-light: #7578c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2545ac",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 225.778,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.16902,
    "h": 266.1
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#2545AC
secondary
#C6AF67
accent
#C040E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2545AC

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

Preview Lab → · Contrast checker → · Palette generator →

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