#2825C1#2825C1

#2825C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.228 H 270.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2825C1
RGBrgb(40, 37, 193)
HSLhsl(241, 68%, 45%)
HSVhsv(241, 81%, 76%)
CMYKcmyk(79.3%, 80.8%, 0%, 24.3%)
CIE-LABlab(28.44, 53.27, -78.64)
CIE-LCHlch(28.44, 94.98, 304.12°)
OKLaboklab(40.63% 0.0034 -0.2276)
OKLCHoklch(40.63% 0.228 270.9)
XYZxyz(11.1590, 5.6232, 50.9390)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825C1 #BEC125
analogous
#2570C1 #2825C1 #7625C1
triadic
#2825C1 #C12825 #25C128
tetradic
#2825C1 #C12570 #BEC125 #25C176
square
#2825C1 #C12570 #BEC125 #25C176
split-complementary
#2825C1 #C17625 #70C125
monochromatic
#13115A #1D1B8E #2825C1 #4A47DC #7D7BE6

Accessibility & contrast

On white

9.88
#2825C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2825C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825C1
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825C1#FFFFFF#000000##FFFFFF
##2825C11.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2825c1;
/* rgb */ color: rgb(40, 37, 193);
/* oklch */ color: oklch(40.6% 0.228 270.9);
Tailwind
colors: {
  custom: {
    50: '#7e64d5',
    500: '#2825c1',
    950: '#000000',
  },
}
SCSS
$custom: #2825c1;
$custom-light: #7e64d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2825c1",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 241.154,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.22767,
    "h": 270.9
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#2825C1
secondary
#CCCE74
accent
#EB3DE7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2825C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2825C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva