#2825A7#2825A7

#2825A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.197 H 272.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2825A7
RGBrgb(40, 37, 167)
HSLhsl(241, 64%, 40%)
HSVhsv(241, 78%, 65%)
CMYKcmyk(76%, 77.8%, 0%, 34.5%)
CIE-LABlab(25.45, 45.00, -68.07)
CIE-LCHlch(25.45, 81.60, 303.47°)
OKLaboklab(37.68% 0.009 -0.197)
OKLCHoklch(37.68% 0.197 272.6)
XYZxyz(8.5094, 4.5634, 36.9841)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A7 #A4A725
analogous
#2563A7 #2825A7 #6925A7
triadic
#2825A7 #A72825 #25A728
tetradic
#2825A7 #A72563 #A4A725 #25A769
square
#2825A7 #A72563 #A4A725 #25A769
split-complementary
#2825A7 #A76925 #63A725
monochromatic
#100F43 #1C1A75 #2825A7 #3A37D3 #6B69DE

Accessibility & contrast

On white

10.98
#2825A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2825A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2825A7#FFFFFF#000000##FFFFFF
##2825A71.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2825a7;
/* rgb */ color: rgb(40, 37, 167);
/* oklch */ color: oklch(37.7% 0.197 272.6);
Tailwind
colors: {
  custom: {
    50: '#7862c2',
    500: '#2825a7',
    950: '#000000',
  },
}
SCSS
$custom: #2825a7;
$custom-light: #7862c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a7",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 241.385,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.37677,
    "c": 0.19721,
    "h": 272.6
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2825A7

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

Preview Lab → · Contrast checker → · Palette generator →

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