#2545C6#2545C6

#2545C6 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 45.8% C 0.203 H 266.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2545C6
RGBrgb(37, 69, 198)
HSLhsl(228, 69%, 46%)
HSVhsv(228, 81%, 78%)
CMYKcmyk(81.3%, 65.2%, 0%, 22.4%)
CIE-LABlab(35.45, 36.38, -70.00)
CIE-LCHlch(35.45, 78.89, 297.46°)
OKLaboklab(45.77% -0.0116 -0.2027)
OKLCHoklch(45.77% 0.203 266.7)
XYZxyz(13.0805, 8.7252, 54.4099)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2545C6 #C6A625
analogous
#2595C6 #2545C6 #5625C6
triadic
#2545C6 #C62545 #45C625
tetradic
#2545C6 #C62595 #C6A625 #25C656
square
#2545C6 #C62595 #C6A625 #25C656
split-complementary
#2545C6 #C65625 #95C625
monochromatic
#12215F #1B3392 #2545C6 #4B68DD #7E93E7

Accessibility & contrast

On white

7.65
#2545C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2545C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2545C6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2545C6#FFFFFF#000000##FFFFFF
##2545C61.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2545c6;
/* rgb */ color: rgb(37, 69, 198);
/* oklch */ color: oklch(45.8% 0.203 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c78d8',
    500: '#2545c6',
    950: '#000000',
  },
}
SCSS
$custom: #2545c6;
$custom-light: #7c78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2545c6",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 228.075,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.20307,
    "h": 266.7
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#2545C6
secondary
#CFBE77
accent
#C93CEB
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #2545C6

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

Preview Lab → · Contrast checker → · Palette generator →

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