#2541AE#2541AE

#2541AE is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.177 H 267.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2541AE
RGBrgb(37, 65, 174)
HSLhsl(228, 65%, 41%)
HSVhsv(228, 79%, 68%)
CMYKcmyk(78.7%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.32, 30.02, -60.98)
CIE-LCHlch(32.32, 67.97, 296.21°)
OKLaboklab(42.81% -0.0088 -0.1764)
OKLCHoklch(42.81% 0.177 267.1)
XYZxyz(10.2906, 7.2287, 40.8891)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2541AE #AE9225
analogous
#2586AE #2541AE #4E25AE
triadic
#2541AE #AE2541 #41AE25
tetradic
#2541AE #AE2586 #AE9225 #25AE4E
square
#2541AE #AE2586 #AE9225 #25AE4E
split-complementary
#2541AE #AE4E25 #86AE25
monochromatic
#101B49 #1A2E7C #2541AE #3B5AD5 #6D85E0

Accessibility & contrast

On white

8.59
#2541AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2541AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2541AE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2541AE#FFFFFF#000000##FFFFFF
##2541AE1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2541ae;
/* rgb */ color: rgb(37, 65, 174);
/* oklch */ color: oklch(42.8% 0.177 267.1);
Tailwind
colors: {
  custom: {
    50: '#7675c7',
    500: '#2541ae',
    950: '#000000',
  },
}
SCSS
$custom: #2541ae;
$custom-light: #7675c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2541ae",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 227.737,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42811,
    "c": 0.17659,
    "h": 267.1
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#2541AE
secondary
#C6B368
accent
#C640E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2541AE

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

Preview Lab → · Contrast checker → · Palette generator →

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