#2825B1#2825B1

#2825B1 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.209 H 271.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2825B1
RGBrgb(40, 37, 177)
HSLhsl(241, 65%, 42%)
HSVhsv(241, 79%, 69%)
CMYKcmyk(77.4%, 79.1%, 0%, 30.6%)
CIE-LABlab(26.58, 48.24, -72.22)
CIE-LCHlch(26.58, 86.85, 303.74°)
OKLaboklab(38.8% 0.0069 -0.209)
OKLCHoklch(38.8% 0.209 271.9)
XYZxyz(9.4698, 4.9475, 42.0423)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825B1 #AEB125
analogous
#2568B1 #2825B1 #6E25B1
triadic
#2825B1 #B12825 #25B128
tetradic
#2825B1 #B12568 #AEB125 #25B16E
square
#2825B1 #B12568 #AEB125 #25B16E
split-complementary
#2825B1 #B16E25 #68B125
monochromatic
#11104C #1D1A7E #2825B1 #403DD6 #726FE1

Accessibility & contrast

On white

10.55
#2825B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2825B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825B1
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825B1#FFFFFF#000000##FFFFFF
##2825B11.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2825b1;
/* rgb */ color: rgb(40, 37, 177);
/* oklch */ color: oklch(38.8% 0.209 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b63ca',
    500: '#2825b1',
    950: '#000000',
  },
}
SCSS
$custom: #2825b1;
$custom-light: #7b63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2825b1",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 241.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.38802,
    "c": 0.20914,
    "h": 271.9
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#2825B1
secondary
#C6C86A
accent
#E83FE5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2825B1

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

Preview Lab → · Contrast checker → · Palette generator →

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