#2545A3#2545A3

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

Color values

HEX#2545A3
RGBrgb(37, 69, 163)
HSLhsl(225, 63%, 39%)
HSVhsv(225, 77%, 64%)
CMYKcmyk(77.3%, 57.7%, 0%, 36.1%)
CIE-LABlab(32.46, 23.14, -54.16)
CIE-LCHlch(32.46, 58.89, 293.13°)
OKLaboklab(42.63% -0.0117 -0.1563)
OKLCHoklch(42.63% 0.157 265.7)
XYZxyz(9.4996, 7.2928, 35.5502)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545A3 #A38325
analogous
#2584A3 #2545A3 #4425A3
triadic
#2545A3 #A32545 #45A325
tetradic
#2545A3 #A32584 #A38325 #25A344
square
#2545A3 #A32584 #A38325 #25A344
split-complementary
#2545A3 #A34425 #84A325
monochromatic
#0E1B3F #1A3071 #2545A3 #345CD1 #6684DC

Accessibility & contrast

On white

8.54
#2545A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2545A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545A3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545A3#FFFFFF#000000##FFFFFF
##2545A31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2545a3;
/* rgb */ color: rgb(37, 69, 163);
/* oklch */ color: oklch(42.6% 0.157 265.7);
Tailwind
colors: {
  custom: {
    50: '#7378bf',
    500: '#2545a3',
    950: '#000000',
  },
}
SCSS
$custom: #2545a3;
$custom-light: #7378bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2545a3",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 224.762,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42632,
    "c": 0.15674,
    "h": 265.7
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2545A3

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

Preview Lab → · Contrast checker → · Palette generator →

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