#2545A2#2545A2

#2545A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.155 H 265.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2545A2
RGBrgb(37, 69, 162)
HSLhsl(225, 63%, 39%)
HSVhsv(225, 77%, 64%)
CMYKcmyk(77.2%, 57.4%, 0%, 36.5%)
CIE-LABlab(32.39, 22.75, -53.69)
CIE-LCHlch(32.39, 58.31, 292.97°)
OKLaboklab(42.55% -0.0118 -0.1549)
OKLCHoklch(42.55% 0.155 265.7)
XYZxyz(9.4104, 7.2571, 35.0802)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545A2 #A28225
analogous
#2584A2 #2545A2 #4425A2
triadic
#2545A2 #A22545 #45A225
tetradic
#2545A2 #A22584 #A28225 #25A244
square
#2545A2 #A22584 #A28225 #25A244
split-complementary
#2545A2 #A24425 #84A225
monochromatic
#0E1B3E #1A3070 #2545A2 #345CD1 #6584DC

Accessibility & contrast

On white

8.57
#2545A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2545A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545A2#FFFFFF#000000##FFFFFF
##2545A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2545a2;
/* rgb */ color: rgb(37, 69, 162);
/* oklch */ color: oklch(42.5% 0.155 265.7);
Tailwind
colors: {
  custom: {
    50: '#7378be',
    500: '#2545a2',
    950: '#000000',
  },
}
SCSS
$custom: #2545a2;
$custom-light: #7378be;
$custom-dark: #000000;
JSON
{
  "hex": "#2545a2",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 224.64,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42548,
    "c": 0.15536,
    "h": 265.7
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#2545A2
secondary
#C2A961
accent
#BC42E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2545A2

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

Preview Lab → · Contrast checker → · Palette generator →

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