#2541BC#2541BC

#2541BC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.195 H 267.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2541BC
RGBrgb(37, 65, 188)
HSLhsl(229, 67%, 44%)
HSVhsv(229, 80%, 74%)
CMYKcmyk(80.3%, 65.4%, 0%, 26.3%)
CIE-LABlab(33.57, 35.25, -67.23)
CIE-LCHlch(33.57, 75.91, 297.67°)
OKLaboklab(44.11% -0.0092 -0.1947)
OKLCHoklch(44.11% 0.195 267.3)
XYZxyz(11.7272, 7.8034, 48.4553)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2541BC #BCA025
analogous
#258DBC #2541BC #5525BC
triadic
#2541BC #BC2541 #41BC25
tetradic
#2541BC #BC258D #BCA025 #25BC55
square
#2541BC #BC258D #BCA025 #25BC55
split-complementary
#2541BC #BC5525 #8DBC25
monochromatic
#111E56 #1B2F89 #2541BC #4460DA #778BE4

Accessibility & contrast

On white

8.20
#2541BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2541BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2541BC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2541BC#FFFFFF#000000##FFFFFF
##2541BC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2541bc;
/* rgb */ color: rgb(37, 65, 188);
/* oklch */ color: oklch(44.1% 0.195 267.3);
Tailwind
colors: {
  custom: {
    50: '#7a75d1',
    500: '#2541bc',
    950: '#000000',
  },
}
SCSS
$custom: #2541bc;
$custom-light: #7a75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2541bc",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 228.874,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.19488,
    "h": 267.3
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#2541BC
secondary
#CCBB71
accent
#CA3EEA
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2541BC

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

Preview Lab → · Contrast checker → · Palette generator →

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