#2545A9#2545A9

#2545A9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.165 H 266.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2545A9
RGBrgb(37, 69, 169)
HSLhsl(225, 64%, 40%)
HSVhsv(225, 78%, 66%)
CMYKcmyk(78.1%, 59.2%, 0%, 33.7%)
CIE-LABlab(32.95, 25.46, -56.97)
CIE-LCHlch(32.95, 62.40, 294.08°)
OKLaboklab(43.15% -0.0115 -0.1646)
OKLCHoklch(43.15% 0.165 266)
XYZxyz(10.0500, 7.5130, 38.4489)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545A9 #A98925
analogous
#2587A9 #2545A9 #4725A9
triadic
#2545A9 #A92545 #45A925
tetradic
#2545A9 #A92587 #A98925 #25A947
square
#2545A9 #A92587 #A98925 #25A947
split-complementary
#2545A9 #A94725 #87A925
monochromatic
#0F1C45 #1A3077 #2545A9 #385ED3 #6A86DE

Accessibility & contrast

On white

8.39
#2545A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2545A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545A9
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545A9#FFFFFF#000000##FFFFFF
##2545A91.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2545a9;
/* rgb */ color: rgb(37, 69, 169);
/* oklch */ color: oklch(43.1% 0.165 266.0);
Tailwind
colors: {
  custom: {
    50: '#7578c3',
    500: '#2545a9',
    950: '#000000',
  },
}
SCSS
$custom: #2545a9;
$custom-light: #7578c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2545a9",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 225.455,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43145,
    "c": 0.16496,
    "h": 266
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#2545A9
secondary
#C4AD65
accent
#BF41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2545A9

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

Preview Lab → · Contrast checker → · Palette generator →

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