#2825AC#2825AC

#2825AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.2% C 0.203 H 272.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2825AC
RGBrgb(40, 37, 172)
HSLhsl(241, 65%, 41%)
HSVhsv(241, 78%, 67%)
CMYKcmyk(76.7%, 78.5%, 0%, 32.5%)
CIE-LABlab(26.02, 46.63, -70.16)
CIE-LCHlch(26.02, 84.24, 303.61°)
OKLaboklab(38.24% 0.0079 -0.2031)
OKLCHoklch(38.24% 0.203 272.2)
XYZxyz(8.9805, 4.7518, 39.4656)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825AC #A9AC25
analogous
#2565AC #2825AC #6B25AC
triadic
#2825AC #AC2825 #25AC28
tetradic
#2825AC #AC2565 #A9AC25 #25AC6B
square
#2825AC #AC2565 #A9AC25 #25AC6B
split-complementary
#2825AC #AC6B25 #65AC25
monochromatic
#110F47 #1C1A7A #2825AC #3D3AD5 #6F6CDF

Accessibility & contrast

On white

10.77
#2825AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2825AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2825AC#FFFFFF#000000##FFFFFF
##2825AC1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2825ac;
/* rgb */ color: rgb(40, 37, 172);
/* oklch */ color: oklch(38.2% 0.203 272.2);
Tailwind
colors: {
  custom: {
    50: '#7962c6',
    500: '#2825ac',
    950: '#000000',
  },
}
SCSS
$custom: #2825ac;
$custom-light: #7962c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2825ac",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 241.333,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.20321,
    "h": 272.2
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#2825AC
secondary
#C4C667
accent
#E840E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2825AC

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

Preview Lab → · Contrast checker → · Palette generator →

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