#2546A3#2546A3

#2546A3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.155 H 265.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2546A3
RGBrgb(37, 70, 163)
HSLhsl(224, 63%, 39%)
HSVhsv(224, 77%, 64%)
CMYKcmyk(77.3%, 57.1%, 0%, 36.1%)
CIE-LABlab(32.74, 22.47, -53.71)
CIE-LCHlch(32.74, 58.22, 292.70°)
OKLaboklab(42.84% -0.0125 -0.155)
OKLCHoklch(42.84% 0.155 265.4)
XYZxyz(9.5616, 7.4169, 35.5709)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546A3 #A38225
analogous
#2585A3 #2546A3 #4325A3
triadic
#2546A3 #A32546 #46A325
tetradic
#2546A3 #A32585 #A38225 #25A343
square
#2546A3 #A32585 #A38225 #25A343
split-complementary
#2546A3 #A34325 #85A325
monochromatic
#0E1B3F #1A3171 #2546A3 #345DD1 #6685DC

Accessibility & contrast

On white

8.46
#2546A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2546A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546A3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546A3#FFFFFF#000000##FFFFFF
##2546A31.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2546a3;
/* rgb */ color: rgb(37, 70, 163);
/* oklch */ color: oklch(42.8% 0.155 265.4);
Tailwind
colors: {
  custom: {
    50: '#7379bf',
    500: '#2546a3',
    950: '#000000',
  },
}
SCSS
$custom: #2546a3;
$custom-light: #7379bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2546a3",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 163
  },
  "hsl": {
    "h": 224.286,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.15548,
    "h": 265.4
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#2546A3
secondary
#C2A962
accent
#BB42E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2546A3

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

Preview Lab → · Contrast checker → · Palette generator →

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