#2825C4#2825C4

#2825C4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.0% C 0.231 H 270.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2825C4
RGBrgb(40, 37, 196)
HSLhsl(241, 68%, 46%)
HSVhsv(241, 81%, 77%)
CMYKcmyk(79.6%, 81.1%, 0%, 23.1%)
CIE-LABlab(28.79, 54.20, -79.82)
CIE-LCHlch(28.79, 96.48, 304.18°)
OKLaboklab(40.98% 0.0028 -0.231)
OKLCHoklch(40.98% 0.231 270.7)
XYZxyz(11.4971, 5.7585, 52.7194)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825C4 #C1C425
analogous
#2571C4 #2825C4 #7725C4
triadic
#2825C4 #C42825 #25C428
tetradic
#2825C4 #C42571 #C1C425 #25C477
square
#2825C4 #C42571 #C1C425 #25C477
split-complementary
#2825C4 #C47725 #71C425
monochromatic
#13125D #1D1B91 #2825C4 #4C49DD #7F7DE6

Accessibility & contrast

On white

9.76
#2825C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2825C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825C4
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825C4#FFFFFF#000000##FFFFFF
##2825C41.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2825c4;
/* rgb */ color: rgb(40, 37, 196);
/* oklch */ color: oklch(41.0% 0.231 270.7);
Tailwind
colors: {
  custom: {
    50: '#7f64d7',
    500: '#2825c4',
    950: '#000000',
  },
}
SCSS
$custom: #2825c4;
$custom-light: #7f64d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2825c4",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 241.132,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.23107,
    "h": 270.7
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2825C4

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

Preview Lab → · Contrast checker → · Palette generator →

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