#2825BD#2825BD

#2825BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.223 H 271.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2825BD
RGBrgb(40, 37, 189)
HSLhsl(241, 67%, 44%)
HSVhsv(241, 80%, 74%)
CMYKcmyk(78.8%, 80.4%, 0%, 25.9%)
CIE-LABlab(27.97, 52.03, -77.05)
CIE-LCHlch(27.97, 92.98, 304.03°)
OKLaboklab(40.17% 0.0043 -0.223)
OKLCHoklch(40.17% 0.223 271.1)
XYZxyz(10.7188, 5.4472, 48.6207)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825BD #BABD25
analogous
#256EBD #2825BD #7425BD
triadic
#2825BD #BD2825 #25BD28
tetradic
#2825BD #BD256E #BABD25 #25BD74
square
#2825BD #BD256E #BABD25 #25BD74
split-complementary
#2825BD #BD7425 #6EBD25
monochromatic
#121157 #1D1B8A #2825BD #4845DB #7A78E5

Accessibility & contrast

On white

10.05
#2825BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2825BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825BD
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825BD#FFFFFF#000000##FFFFFF
##2825BD1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2825bd;
/* rgb */ color: rgb(40, 37, 189);
/* oklch */ color: oklch(40.2% 0.223 271.1);
Tailwind
colors: {
  custom: {
    50: '#7d63d2',
    500: '#2825bd',
    950: '#000000',
  },
}
SCSS
$custom: #2825bd;
$custom-light: #7d63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2825bd",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 241.184,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40173,
    "c": 0.22309,
    "h": 271.1
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#2825BD
secondary
#CACC72
accent
#EA3EE7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2825BD

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

Preview Lab → · Contrast checker → · Palette generator →

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