#2545AB#2545AB

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

Color values

HEX#2545AB
RGBrgb(37, 69, 171)
HSLhsl(226, 64%, 41%)
HSVhsv(226, 78%, 67%)
CMYKcmyk(78.4%, 59.6%, 0%, 32.9%)
CIE-LABlab(33.11, 26.22, -57.90)
CIE-LCHlch(33.11, 63.56, 294.37°)
OKLaboklab(43.32% -0.0114 -0.1673)
OKLCHoklch(43.32% 0.168 266.1)
XYZxyz(10.2392, 7.5887, 39.4453)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545AB #AB8B25
analogous
#2588AB #2545AB #4825AB
triadic
#2545AB #AB2545 #45AB25
tetradic
#2545AB #AB2588 #AB8B25 #25AB48
square
#2545AB #AB2588 #AB8B25 #25AB48
split-complementary
#2545AB #AB4825 #88AB25
monochromatic
#0F1C46 #1A3179 #2545AB #395ED4 #6B87DF

Accessibility & contrast

On white

8.34
#2545AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2545AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545AB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545AB#FFFFFF#000000##FFFFFF
##2545AB1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2545ab;
/* rgb */ color: rgb(37, 69, 171);
/* oklch */ color: oklch(43.3% 0.168 266.1);
Tailwind
colors: {
  custom: {
    50: '#7578c5',
    500: '#2545ab',
    950: '#000000',
  },
}
SCSS
$custom: #2545ab;
$custom-light: #7578c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2545ab",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 225.672,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43319,
    "c": 0.16768,
    "h": 266.1
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#2545AB
secondary
#C5AF67
accent
#C040E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2545AB

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

Preview Lab → · Contrast checker → · Palette generator →

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