#2545C4#2545C4

#2545C4 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.6% C 0.201 H 266.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2545C4
RGBrgb(37, 69, 196)
HSLhsl(228, 68%, 46%)
HSVhsv(228, 81%, 77%)
CMYKcmyk(81.1%, 64.8%, 0%, 23.1%)
CIE-LABlab(35.27, 35.64, -69.13)
CIE-LCHlch(35.27, 77.78, 297.27°)
OKLaboklab(45.58% -0.0115 -0.2002)
OKLCHoklch(45.58% 0.201 266.7)
XYZxyz(12.8514, 8.6336, 53.2030)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545C4 #C4A425
analogous
#2594C4 #2545C4 #5525C4
triadic
#2545C4 #C42545 #45C425
tetradic
#2545C4 #C42594 #C4A425 #25C455
square
#2545C4 #C42594 #C4A425 #25C455
split-complementary
#2545C4 #C45525 #94C425
monochromatic
#12215D #1B3391 #2545C4 #4967DD #7D92E6

Accessibility & contrast

On white

7.70
#2545C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2545C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545C4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545C4#FFFFFF#000000##FFFFFF
##2545C41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2545c4;
/* rgb */ color: rgb(37, 69, 196);
/* oklch */ color: oklch(45.6% 0.201 266.7);
Tailwind
colors: {
  custom: {
    50: '#7b78d7',
    500: '#2545c4',
    950: '#000000',
  },
}
SCSS
$custom: #2545c4;
$custom-light: #7b78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2545c4",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 227.925,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.20052,
    "h": 266.7
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#2545C4
secondary
#CFBD76
accent
#C83DEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #2545C4

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

Preview Lab → · Contrast checker → · Palette generator →

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