#2825A2#2825A2

#2825A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.191 H 273.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2825A2
RGBrgb(40, 37, 162)
HSLhsl(241, 63%, 39%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(75.3%, 77.2%, 0%, 36.5%)
CIE-LABlab(24.90, 43.36, -65.97)
CIE-LCHlch(24.90, 78.94, 303.32°)
OKLaboklab(37.12% 0.01 -0.1909)
OKLCHoklch(37.12% 0.191 273)
XYZxyz(8.0560, 4.3820, 34.5967)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A2 #9FA225
analogous
#2561A2 #2825A2 #6725A2
triadic
#2825A2 #A22825 #25A228
tetradic
#2825A2 #A22561 #9FA225 #25A267
square
#2825A2 #A22561 #9FA225 #25A267
split-complementary
#2825A2 #A26725 #61A225
monochromatic
#0F0E3E #1C1A70 #2825A2 #3734D1 #6865DC

Accessibility & contrast

On white

11.19
#2825A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2825A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2825A2#FFFFFF#000000##FFFFFF
##2825A21.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2825a2;
/* rgb */ color: rgb(40, 37, 162);
/* oklch */ color: oklch(37.1% 0.191 273.0);
Tailwind
colors: {
  custom: {
    50: '#7762bf',
    500: '#2825a2',
    950: '#000000',
  },
}
SCSS
$custom: #2825a2;
$custom-light: #7762bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a2",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 241.44,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37121,
    "c": 0.19114,
    "h": 273
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#2825A2
secondary
#BFC261
accent
#E642E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2825A2

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

Preview Lab → · Contrast checker → · Palette generator →

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