#2825A4#2825A4

#2825A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.194 H 272.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2825A4
RGBrgb(40, 37, 164)
HSLhsl(241, 63%, 39%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(75.6%, 77.4%, 0%, 35.7%)
CIE-LABlab(25.12, 44.02, -66.81)
CIE-LCHlch(25.12, 80.01, 303.38°)
OKLaboklab(37.34% 0.0096 -0.1933)
OKLCHoklch(37.34% 0.194 272.8)
XYZxyz(8.2352, 4.4537, 35.5404)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A4 #A1A425
analogous
#2562A4 #2825A4 #6725A4
triadic
#2825A4 #A42825 #25A428
tetradic
#2825A4 #A42562 #A1A425 #25A467
square
#2825A4 #A42562 #A1A425 #25A467
split-complementary
#2825A4 #A46725 #62A425
monochromatic
#100E40 #1C1A72 #2825A4 #3935D1 #6A67DD

Accessibility & contrast

On white

11.11
#2825A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2825A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825A4
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825A4#FFFFFF#000000##FFFFFF
##2825A41.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2825a4;
/* rgb */ color: rgb(40, 37, 164);
/* oklch */ color: oklch(37.3% 0.194 272.8);
Tailwind
colors: {
  custom: {
    50: '#7762c0',
    500: '#2825a4',
    950: '#000000',
  },
}
SCSS
$custom: #2825a4;
$custom-light: #7762c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a4",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 241.417,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37343,
    "c": 0.19359,
    "h": 272.8
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#2825A4
secondary
#C0C262
accent
#E642E2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2825A4

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

Preview Lab → · Contrast checker → · Palette generator →

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