#2825AA#2825AA

#2825AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.0% C 0.201 H 272.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2825AA
RGBrgb(40, 37, 170)
HSLhsl(241, 64%, 41%)
HSVhsv(241, 78%, 67%)
CMYKcmyk(76.5%, 78.2%, 0%, 33.3%)
CIE-LABlab(25.79, 45.98, -69.33)
CIE-LCHlch(25.79, 83.19, 303.55°)
OKLaboklab(38.01% 0.0084 -0.2006)
OKLCHoklch(38.01% 0.201 272.4)
XYZxyz(8.7899, 4.6756, 38.4616)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825AA #A7AA25
analogous
#2565AA #2825AA #6A25AA
triadic
#2825AA #AA2825 #25AA28
tetradic
#2825AA #AA2565 #A7AA25 #25AA6A
square
#2825AA #AA2565 #A7AA25 #25AA6A
split-complementary
#2825AA #AA6A25 #65AA25
monochromatic
#100F45 #1C1A78 #2825AA #3C38D4 #6D6BDF

Accessibility & contrast

On white

10.85
#2825AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2825AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2825AA#FFFFFF#000000##FFFFFF
##2825AA1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2825aa;
/* rgb */ color: rgb(40, 37, 170);
/* oklch */ color: oklch(38.0% 0.201 272.4);
Tailwind
colors: {
  custom: {
    50: '#7962c5',
    500: '#2825aa',
    950: '#000000',
  },
}
SCSS
$custom: #2825aa;
$custom-light: #7962c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2825aa",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 241.353,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38012,
    "c": 0.20082,
    "h": 272.4
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#2825AA
secondary
#C3C566
accent
#E741E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2825AA

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

Preview Lab → · Contrast checker → · Palette generator →

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