#2545B4#2545B4

#2545B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.180 H 266.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2545B4
RGBrgb(37, 69, 180)
HSLhsl(227, 66%, 43%)
HSVhsv(227, 79%, 71%)
CMYKcmyk(79.4%, 61.7%, 0%, 29.4%)
CIE-LABlab(33.87, 29.66, -62.02)
CIE-LCHlch(33.87, 68.75, 295.56°)
OKLaboklab(44.11% -0.0113 -0.1794)
OKLCHoklch(44.11% 0.18 266.4)
XYZxyz(11.1264, 7.9436, 44.1180)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545B4 #B49425
analogous
#258DB4 #2545B4 #4C25B4
triadic
#2545B4 #B42545 #45B425
tetradic
#2545B4 #B4258D #B49425 #25B44C
square
#2545B4 #B4258D #B49425 #25B44C
split-complementary
#2545B4 #B44C25 #8DB425
monochromatic
#101E4E #1B3281 #2545B4 #3F61D7 #718BE2

Accessibility & contrast

On white

8.11
#2545B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2545B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545B4
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545B4#FFFFFF#000000##FFFFFF
##2545B41.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2545b4;
/* rgb */ color: rgb(37, 69, 180);
/* oklch */ color: oklch(44.1% 0.180 266.4);
Tailwind
colors: {
  custom: {
    50: '#7778cb',
    500: '#2545b4',
    950: '#000000',
  },
}
SCSS
$custom: #2545b4;
$custom-light: #7778cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2545b4",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 226.573,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.17972,
    "h": 266.4
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#2545B4
secondary
#C9B46C
accent
#C33FE9
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2545B4

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

Preview Lab → · Contrast checker → · Palette generator →

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