#2546B2#2546B2

#2546B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.176 H 266.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2546B2
RGBrgb(37, 70, 178)
HSLhsl(226, 66%, 42%)
HSVhsv(226, 79%, 70%)
CMYKcmyk(79.2%, 60.7%, 0%, 30.2%)
CIE-LABlab(33.96, 28.24, -60.69)
CIE-LCHlch(33.96, 66.94, 294.95°)
OKLaboklab(44.13% -0.0119 -0.1754)
OKLCHoklch(44.13% 0.176 266.1)
XYZxyz(10.9862, 7.9867, 43.0734)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546B2 #B29125
analogous
#258DB2 #2546B2 #4A25B2
triadic
#2546B2 #B22546 #46B225
tetradic
#2546B2 #B2258D #B29125 #25B24A
square
#2546B2 #B2258D #B29125 #25B24A
split-complementary
#2546B2 #B24A25 #8DB225
monochromatic
#101E4D #1A327F #2546B2 #3D61D7 #708BE1

Accessibility & contrast

On white

8.08
#2546B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2546B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546B2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546B2#FFFFFF#000000##FFFFFF
##2546B21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2546b2;
/* rgb */ color: rgb(37, 70, 178);
/* oklch */ color: oklch(44.1% 0.176 266.1);
Tailwind
colors: {
  custom: {
    50: '#7779ca',
    500: '#2546b2',
    950: '#000000',
  },
}
SCSS
$custom: #2546b2;
$custom-light: #7779ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2546b2",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 225.957,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.17585,
    "h": 266.1
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#2546B2
secondary
#C8B26B
accent
#C13FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2546B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2546B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva