#2546AE#2546AE

#2546AE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.170 H 266.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2546AE
RGBrgb(37, 70, 174)
HSLhsl(226, 65%, 41%)
HSVhsv(226, 79%, 68%)
CMYKcmyk(78.7%, 59.8%, 0%, 31.8%)
CIE-LABlab(33.62, 26.71, -58.85)
CIE-LCHlch(33.62, 64.63, 294.41°)
OKLaboklab(43.78% -0.012 -0.1701)
OKLCHoklch(43.78% 0.17 266)
XYZxyz(10.5904, 7.8284, 40.9891)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546AE #AE8D25
analogous
#258BAE #2546AE #4825AE
triadic
#2546AE #AE2546 #46AE25
tetradic
#2546AE #AE258B #AE8D25 #25AE48
square
#2546AE #AE258B #AE8D25 #25AE48
split-complementary
#2546AE #AE4825 #8BAE25
monochromatic
#101D49 #1A327C #2546AE #3B60D5 #6D89E0

Accessibility & contrast

On white

8.18
#2546AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2546AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546AE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546AE#FFFFFF#000000##FFFFFF
##2546AE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2546ae;
/* rgb */ color: rgb(37, 70, 174);
/* oklch */ color: oklch(43.8% 0.170 266.0);
Tailwind
colors: {
  custom: {
    50: '#7679c7',
    500: '#2546ae',
    950: '#000000',
  },
}
SCSS
$custom: #2546ae;
$custom-light: #7679c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2546ae",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 225.547,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.17049,
    "h": 266
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#2546AE
secondary
#C6B068
accent
#BF40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2546AE

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

Preview Lab → · Contrast checker → · Palette generator →

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