#2546A2#2546A2

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

Color values

HEX#2546A2
RGBrgb(37, 70, 162)
HSLhsl(224, 63%, 39%)
HSVhsv(224, 77%, 64%)
CMYKcmyk(77.2%, 56.8%, 0%, 36.5%)
CIE-LABlab(32.66, 22.08, -53.24)
CIE-LCHlch(32.66, 57.64, 292.52°)
OKLaboklab(42.75% -0.0125 -0.1536)
OKLCHoklch(42.75% 0.154 265.3)
XYZxyz(9.4724, 7.3812, 35.1009)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546A2 #A28125
analogous
#2585A2 #2546A2 #4325A2
triadic
#2546A2 #A22546 #46A225
tetradic
#2546A2 #A22585 #A28125 #25A243
square
#2546A2 #A22585 #A28125 #25A243
split-complementary
#2546A2 #A24325 #85A225
monochromatic
#0E1B3E #1A3070 #2546A2 #345DD1 #6585DC

Accessibility & contrast

On white

8.48
#2546A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2546A2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546A2#FFFFFF#000000##FFFFFF
##2546A21.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2546a2;
/* rgb */ color: rgb(37, 70, 162);
/* oklch */ color: oklch(42.8% 0.154 265.3);
Tailwind
colors: {
  custom: {
    50: '#7378be',
    500: '#2546a2',
    950: '#000000',
  },
}
SCSS
$custom: #2546a2;
$custom-light: #7378be;
$custom-dark: #000000;
JSON
{
  "hex": "#2546a2",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 224.16,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.15409,
    "h": 265.3
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2546A2

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

Preview Lab → · Contrast checker → · Palette generator →

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