#2541B0#2541B0

#2541B0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.179 H 267.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2541B0
RGBrgb(37, 65, 176)
HSLhsl(228, 65%, 42%)
HSVhsv(228, 79%, 69%)
CMYKcmyk(79%, 63.1%, 0%, 31%)
CIE-LABlab(32.50, 30.78, -61.89)
CIE-LCHlch(32.50, 69.12, 296.44°)
OKLaboklab(42.99% -0.0089 -0.179)
OKLCHoklch(42.99% 0.179 267.2)
XYZxyz(10.4870, 7.3073, 41.9236)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2541B0 #B09425
analogous
#2587B0 #2541B0 #4F25B0
triadic
#2541B0 #B02541 #41B025
tetradic
#2541B0 #B02587 #B09425 #25B04F
square
#2541B0 #B02587 #B09425 #25B04F
split-complementary
#2541B0 #B04F25 #87B025
monochromatic
#101C4B #1A2E7D #2541B0 #3C5BD6 #6F86E1

Accessibility & contrast

On white

8.53
#2541B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2541B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2541B0
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2541B0#FFFFFF#000000##FFFFFF
##2541B01.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2541b0;
/* rgb */ color: rgb(37, 65, 176);
/* oklch */ color: oklch(43.0% 0.179 267.2);
Tailwind
colors: {
  custom: {
    50: '#7775c9',
    500: '#2541b0',
    950: '#000000',
  },
}
SCSS
$custom: #2541b0;
$custom-light: #7775c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2541b0",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 227.914,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42994,
    "c": 0.17924,
    "h": 267.2
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2541B0

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

Preview Lab → · Contrast checker → · Palette generator →

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