#2541A0#2541A0

#2541A0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.158 H 266.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2541A0
RGBrgb(37, 65, 160)
HSLhsl(226, 62%, 39%)
HSVhsv(226, 77%, 63%)
CMYKcmyk(76.9%, 59.4%, 0%, 37.3%)
CIE-LABlab(31.14, 24.68, -54.51)
CIE-LCHlch(31.14, 59.83, 294.36°)
OKLaboklab(41.56% -0.009 -0.1574)
OKLCHoklch(41.56% 0.158 266.7)
XYZxyz(8.9962, 6.7110, 34.0721)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2541A0 #A08425
analogous
#257EA0 #2541A0 #4625A0
triadic
#2541A0 #A02541 #41A025
tetradic
#2541A0 #A0257E #A08425 #25A046
square
#2541A0 #A0257E #A08425 #25A046
split-complementary
#2541A0 #A04625 #7EA025
monochromatic
#0E193D #1A2D6E #2541A0 #3256D0 #647FDB

Accessibility & contrast

On white

8.97
#2541A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2541A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2541A0
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2541A0#FFFFFF#000000##FFFFFF
##2541A01.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2541a0;
/* rgb */ color: rgb(37, 65, 160);
/* oklch */ color: oklch(41.6% 0.158 266.7);
Tailwind
colors: {
  custom: {
    50: '#7375bd',
    500: '#2541a0',
    950: '#000000',
  },
}
SCSS
$custom: #2541a0;
$custom-light: #7375bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2541a0",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 226.341,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41564,
    "c": 0.15764,
    "h": 266.7
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#2541A0
secondary
#C1AB60
accent
#C042E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2541A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2541A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva