#2546BA#2546BA

#2546BA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.186 H 266.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2546BA
RGBrgb(37, 70, 186)
HSLhsl(227, 67%, 44%)
HSVhsv(227, 80%, 73%)
CMYKcmyk(80.1%, 62.4%, 0%, 27.1%)
CIE-LABlab(34.64, 31.27, -64.31)
CIE-LCHlch(34.64, 71.50, 295.93°)
OKLaboklab(44.85% -0.0119 -0.186)
OKLCHoklch(44.85% 0.186 266.3)
XYZxyz(11.8129, 8.3174, 47.4277)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546BA #BA9925
analogous
#2590BA #2546BA #4E25BA
triadic
#2546BA #BA2546 #46BA25
tetradic
#2546BA #BA2590 #BA9925 #25BA4E
square
#2546BA #BA2590 #BA9925 #25BA4E
split-complementary
#2546BA #BA4E25 #90BA25
monochromatic
#112054 #1B3387 #2546BA #4364DA #768EE4

Accessibility & contrast

On white

7.88
#2546BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2546BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546BA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546BA#FFFFFF#000000##FFFFFF
##2546BA1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2546ba;
/* rgb */ color: rgb(37, 70, 186);
/* oklch */ color: oklch(44.8% 0.186 266.3);
Tailwind
colors: {
  custom: {
    50: '#7979d0',
    500: '#2546ba',
    950: '#000000',
  },
}
SCSS
$custom: #2546ba;
$custom-light: #7979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2546ba",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 226.711,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44845,
    "c": 0.18643,
    "h": 266.3
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#2546BA
secondary
#CBB770
accent
#C43EEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2546BA

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

Preview Lab → · Contrast checker → · Palette generator →

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