#2545AE#2545AE

#2545AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.172 H 266.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2545AE
RGBrgb(37, 69, 174)
HSLhsl(226, 65%, 41%)
HSVhsv(226, 79%, 68%)
CMYKcmyk(78.7%, 60.3%, 0%, 31.8%)
CIE-LABlab(33.36, 27.37, -59.28)
CIE-LCHlch(33.36, 65.30, 294.78°)
OKLaboklab(43.58% -0.0114 -0.1713)
OKLCHoklch(43.58% 0.172 266.2)
XYZxyz(10.5284, 7.7043, 40.9684)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545AE #AE8E25
analogous
#258AAE #2545AE #4925AE
triadic
#2545AE #AE2545 #45AE25
tetradic
#2545AE #AE258A #AE8E25 #25AE49
square
#2545AE #AE258A #AE8E25 #25AE49
split-complementary
#2545AE #AE4925 #8AAE25
monochromatic
#101D49 #1A317C #2545AE #3B5FD5 #6D88E0

Accessibility & contrast

On white

8.26
#2545AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2545AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545AE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545AE#FFFFFF#000000##FFFFFF
##2545AE1.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)
#0055B1
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2545ae;
/* rgb */ color: rgb(37, 69, 174);
/* oklch */ color: oklch(43.6% 0.172 266.2);
Tailwind
colors: {
  custom: {
    50: '#7678c7',
    500: '#2545ae',
    950: '#000000',
  },
}
SCSS
$custom: #2545ae;
$custom-light: #7678c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2545ae",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 225.985,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.17173,
    "h": 266.2
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#2545AE
secondary
#C6B068
accent
#C140E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2545AE

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

Preview Lab → · Contrast checker → · Palette generator →

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