#2825A0#2825A0

#2825A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.189 H 273.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2825A0
RGBrgb(40, 37, 160)
HSLhsl(241, 62%, 39%)
HSVhsv(241, 77%, 63%)
CMYKcmyk(75%, 76.9%, 0%, 37.3%)
CIE-LABlab(24.68, 42.69, -65.11)
CIE-LCHlch(24.68, 77.86, 303.25°)
OKLaboklab(36.9% 0.0104 -0.1884)
OKLCHoklch(36.9% 0.189 273.2)
XYZxyz(7.8797, 4.3115, 33.6678)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A0 #9DA025
analogous
#255FA0 #2825A0 #6525A0
triadic
#2825A0 #A02825 #25A028
tetradic
#2825A0 #A0255F #9DA025 #25A065
square
#2825A0 #A0255F #9DA025 #25A065
split-complementary
#2825A0 #A06525 #5FA025
monochromatic
#0F0E3D #1C1A6E #2825A0 #3632D0 #6764DB

Accessibility & contrast

On white

11.28
#2825A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2825A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2825A0#FFFFFF#000000##FFFFFF
##2825A01.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2825a0;
/* rgb */ color: rgb(40, 37, 160);
/* oklch */ color: oklch(36.9% 0.189 273.2);
Tailwind
colors: {
  custom: {
    50: '#7662bd',
    500: '#2825a0',
    950: '#000000',
  },
}
SCSS
$custom: #2825a0;
$custom-light: #7662bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a0",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 241.463,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.369,
    "c": 0.1887,
    "h": 273.2
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2825A0

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

Preview Lab → · Contrast checker → · Palette generator →

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