#2825A3#2825A3

#2825A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.192 H 272.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2825A3
RGBrgb(40, 37, 163)
HSLhsl(241, 63%, 39%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(75.5%, 77.3%, 0%, 36.1%)
CIE-LABlab(25.01, 43.69, -66.39)
CIE-LCHlch(25.01, 79.47, 303.35°)
OKLaboklab(37.23% 0.0098 -0.1921)
OKLCHoklch(37.23% 0.192 272.9)
XYZxyz(8.1453, 4.4177, 35.0667)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A3 #A0A325
analogous
#2561A3 #2825A3 #6725A3
triadic
#2825A3 #A32825 #25A328
tetradic
#2825A3 #A32561 #A0A325 #25A367
square
#2825A3 #A32561 #A0A325 #25A367
split-complementary
#2825A3 #A36725 #61A325
monochromatic
#100E3F #1C1A71 #2825A3 #3834D1 #6966DC

Accessibility & contrast

On white

11.15
#2825A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2825A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825A3
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825A3#FFFFFF#000000##FFFFFF
##2825A31.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2825a3;
/* rgb */ color: rgb(40, 37, 163);
/* oklch */ color: oklch(37.2% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#7762c0',
    500: '#2825a3',
    950: '#000000',
  },
}
SCSS
$custom: #2825a3;
$custom-light: #7762c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a3",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 241.429,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.19237,
    "h": 272.9
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#2825A3
secondary
#C0C262
accent
#E642E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2825A3

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

Preview Lab → · Contrast checker → · Palette generator →

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