#2825A1#2825A1

#2825A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.190 H 273.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2825A1
RGBrgb(40, 37, 161)
HSLhsl(241, 63%, 39%)
HSVhsv(241, 77%, 63%)
CMYKcmyk(75.2%, 77%, 0%, 36.9%)
CIE-LABlab(24.79, 43.03, -65.54)
CIE-LCHlch(24.79, 78.40, 303.28°)
OKLaboklab(37.01% 0.0102 -0.1897)
OKLCHoklch(37.01% 0.19 273.1)
XYZxyz(7.9675, 4.3466, 34.1304)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A1 #9EA125
analogous
#2560A1 #2825A1 #6625A1
triadic
#2825A1 #A12825 #25A128
tetradic
#2825A1 #A12560 #9EA125 #25A166
square
#2825A1 #A12560 #9EA125 #25A166
split-complementary
#2825A1 #A16625 #60A125
monochromatic
#0F0E3D #1C1A6F #2825A1 #3733D0 #6865DC

Accessibility & contrast

On white

11.23
#2825A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2825A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825A1
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825A1#FFFFFF#000000##FFFFFF
##2825A11.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2825a1;
/* rgb */ color: rgb(40, 37, 161);
/* oklch */ color: oklch(37.0% 0.190 273.1);
Tailwind
colors: {
  custom: {
    50: '#7762be',
    500: '#2825a1',
    950: '#000000',
  },
}
SCSS
$custom: #2825a1;
$custom-light: #7762be;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a1",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 241.452,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.18993,
    "h": 273.1
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2825A1

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

Preview Lab → · Contrast checker → · Palette generator →

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