#2825C5#2825C5

#2825C5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.232 H 270.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2825C5
RGBrgb(40, 37, 197)
HSLhsl(241, 68%, 46%)
HSVhsv(241, 81%, 77%)
CMYKcmyk(79.7%, 81.2%, 0%, 22.7%)
CIE-LABlab(28.91, 54.51, -80.21)
CIE-LCHlch(28.91, 96.97, 304.20°)
OKLaboklab(41.1% 0.0026 -0.2322)
OKLCHoklch(41.1% 0.232 270.6)
XYZxyz(11.6113, 5.8041, 53.3208)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825C5 #C2C525
analogous
#2572C5 #2825C5 #7825C5
triadic
#2825C5 #C52825 #25C528
tetradic
#2825C5 #C52572 #C2C525 #25C578
square
#2825C5 #C52572 #C2C525 #25C578
split-complementary
#2825C5 #C57825 #72C525
monochromatic
#13125E #1E1B91 #2825C5 #4D4ADD #807EE7

Accessibility & contrast

On white

9.72
#2825C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2825C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825C5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825C5#FFFFFF#000000##FFFFFF
##2825C51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC9
Deuteranopia (green-blind)
#003CC2
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2825c5;
/* rgb */ color: rgb(40, 37, 197);
/* oklch */ color: oklch(41.1% 0.232 270.6);
Tailwind
colors: {
  custom: {
    50: '#7f64d8',
    500: '#2825c5',
    950: '#000000',
  },
}
SCSS
$custom: #2825c5;
$custom-light: #7f64d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2825c5",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 197
  },
  "hsl": {
    "h": 241.125,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.23219,
    "h": 270.6
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#2825C5
secondary
#CDCF77
accent
#EB3DE8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2825C5

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

Preview Lab → · Contrast checker → · Palette generator →

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