#2825A6#2825A6

#2825A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.196 H 272.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2825A6
RGBrgb(40, 37, 166)
HSLhsl(241, 64%, 40%)
HSVhsv(241, 78%, 65%)
CMYKcmyk(75.9%, 77.7%, 0%, 34.9%)
CIE-LABlab(25.34, 44.68, -67.66)
CIE-LCHlch(25.34, 81.07, 303.44°)
OKLaboklab(37.57% 0.0092 -0.1958)
OKLCHoklch(37.57% 0.196 272.7)
XYZxyz(8.4173, 4.5265, 36.4991)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A6 #A3A625
analogous
#2563A6 #2825A6 #6825A6
triadic
#2825A6 #A62825 #25A628
tetradic
#2825A6 #A62563 #A3A625 #25A668
square
#2825A6 #A62563 #A3A625 #25A668
split-complementary
#2825A6 #A66825 #63A625
monochromatic
#100F42 #1C1A74 #2825A6 #3A36D2 #6B68DD

Accessibility & contrast

On white

11.02
#2825A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2825A6
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825A6#FFFFFF#000000##FFFFFF
##2825A61.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2825a6;
/* rgb */ color: rgb(40, 37, 166);
/* oklch */ color: oklch(37.6% 0.196 272.7);
Tailwind
colors: {
  custom: {
    50: '#7862c2',
    500: '#2825a6',
    950: '#000000',
  },
}
SCSS
$custom: #2825a6;
$custom-light: #7862c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a6",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 241.395,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.19602,
    "h": 272.7
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#2825A6
secondary
#C1C364
accent
#E741E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2825A6

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

Preview Lab → · Contrast checker → · Palette generator →

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