#2825A9#2825A9

#2825A9 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.200 H 272.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2825A9
RGBrgb(40, 37, 169)
HSLhsl(241, 64%, 40%)
HSVhsv(241, 78%, 66%)
CMYKcmyk(76.3%, 78.1%, 0%, 33.7%)
CIE-LABlab(25.68, 45.66, -68.91)
CIE-LCHlch(25.68, 82.66, 303.53°)
OKLaboklab(37.9% 0.0086 -0.1994)
OKLCHoklch(37.9% 0.2 272.5)
XYZxyz(8.6957, 4.6379, 37.9653)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A9 #A6A925
analogous
#2564A9 #2825A9 #6A25A9
triadic
#2825A9 #A92825 #25A928
tetradic
#2825A9 #A92564 #A6A925 #25A96A
square
#2825A9 #A92564 #A6A925 #25A96A
split-complementary
#2825A9 #A96A25 #64A925
monochromatic
#100F45 #1C1A77 #2825A9 #3B38D3 #6D6ADE

Accessibility & contrast

On white

10.89
#2825A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2825A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2825A9#FFFFFF#000000##FFFFFF
##2825A91.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2825a9;
/* rgb */ color: rgb(40, 37, 169);
/* oklch */ color: oklch(37.9% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#7962c4',
    500: '#2825a9',
    950: '#000000',
  },
}
SCSS
$custom: #2825a9;
$custom-light: #7962c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a9",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 241.364,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.379,
    "c": 0.19962,
    "h": 272.5
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2825A9

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

Preview Lab → · Contrast checker → · Palette generator →

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