#2546A8#2546A8

#2546A8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.162 H 265.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2546A8
RGBrgb(37, 70, 168)
HSLhsl(225, 64%, 40%)
HSVhsv(225, 78%, 66%)
CMYKcmyk(78%, 58.3%, 0%, 34.1%)
CIE-LABlab(33.13, 24.40, -56.07)
CIE-LCHlch(33.13, 61.15, 293.52°)
OKLaboklab(43.26% -0.0122 -0.1619)
OKLCHoklch(43.26% 0.162 265.7)
XYZxyz(10.0185, 7.5996, 37.9771)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546A8 #A88725
analogous
#2588A8 #2546A8 #4525A8
triadic
#2546A8 #A82546 #46A825
tetradic
#2546A8 #A82588 #A88725 #25A845
square
#2546A8 #A82588 #A88725 #25A845
split-complementary
#2546A8 #A84525 #88A825
monochromatic
#0F1C44 #1A3176 #2546A8 #375ED3 #6987DE

Accessibility & contrast

On white

8.33
#2546A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2546A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546A8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546A8#FFFFFF#000000##FFFFFF
##2546A81.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2546a8;
/* rgb */ color: rgb(37, 70, 168);
/* oklch */ color: oklch(43.3% 0.162 265.7);
Tailwind
colors: {
  custom: {
    50: '#7479c3',
    500: '#2546a8',
    950: '#000000',
  },
}
SCSS
$custom: #2546a8;
$custom-light: #7479c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2546a8",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 224.885,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.16235,
    "h": 265.7
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#2546A8
secondary
#C4AC65
accent
#BD41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2546A8

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

Preview Lab → · Contrast checker → · Palette generator →

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