#2825AD#2825AD

#2825AD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.204 H 272.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2825AD
RGBrgb(40, 37, 173)
HSLhsl(241, 65%, 41%)
HSVhsv(241, 79%, 68%)
CMYKcmyk(76.9%, 78.6%, 0%, 32.2%)
CIE-LABlab(26.13, 46.95, -70.57)
CIE-LCHlch(26.13, 84.76, 303.64°)
OKLaboklab(38.35% 0.0077 -0.2043)
OKLCHoklch(38.35% 0.204 272.2)
XYZxyz(9.0769, 4.7904, 39.9733)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825AD #AAAD25
analogous
#2566AD #2825AD #6C25AD
triadic
#2825AD #AD2825 #25AD28
tetradic
#2825AD #AD2566 #AAAD25 #25AD6C
square
#2825AD #AD2566 #AAAD25 #25AD6C
split-complementary
#2825AD #AD6C25 #66AD25
monochromatic
#110F48 #1C1A7B #2825AD #3E3AD5 #6F6DE0

Accessibility & contrast

On white

10.72
#2825AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2825AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825AD
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825AD#FFFFFF#000000##FFFFFF
##2825AD1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2825ad;
/* rgb */ color: rgb(40, 37, 173);
/* oklch */ color: oklch(38.3% 0.204 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a62c7',
    500: '#2825ad',
    950: '#000000',
  },
}
SCSS
$custom: #2825ad;
$custom-light: #7a62c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2825ad",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 241.324,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.20441,
    "h": 272.2
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#2825AD
secondary
#C4C668
accent
#E840E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2825AD

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

Preview Lab → · Contrast checker → · Palette generator →

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