#2541C6#2541C6

#2541C6 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.1% C 0.208 H 267.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2541C6
RGBrgb(37, 65, 198)
HSLhsl(230, 69%, 46%)
HSVhsv(230, 81%, 78%)
CMYKcmyk(81.3%, 67.2%, 0%, 22.4%)
CIE-LABlab(34.50, 38.91, -71.57)
CIE-LCHlch(34.50, 81.46, 298.53°)
OKLaboklab(45.07% -0.0097 -0.2073)
OKLCHoklch(45.07% 0.208 267.3)
XYZxyz(12.8427, 8.2496, 54.3306)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2541C6 #C6AA25
analogous
#2591C6 #2541C6 #5925C6
triadic
#2541C6 #C62541 #41C625
tetradic
#2541C6 #C62591 #C6AA25 #25C659
square
#2541C6 #C62591 #C6AA25 #25C659
split-complementary
#2541C6 #C65925 #91C625
monochromatic
#121F5F #1B3092 #2541C6 #4B64DD #7E91E7

Accessibility & contrast

On white

7.92
#2541C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2541C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2541C6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2541C6#FFFFFF#000000##FFFFFF
##2541C61.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2541c6;
/* rgb */ color: rgb(37, 65, 198);
/* oklch */ color: oklch(45.1% 0.208 267.3);
Tailwind
colors: {
  custom: {
    50: '#7c75d8',
    500: '#2541c6',
    950: '#000000',
  },
}
SCSS
$custom: #2541c6;
$custom-light: #7c75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2541c6",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 229.565,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45074,
    "c": 0.20756,
    "h": 267.3
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#2541C6
secondary
#CFC077
accent
#CD3CEB
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2541C6

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

Preview Lab → · Contrast checker → · Palette generator →

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