#2825B0#2825B0

#2825B0 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.208 H 272.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2825B0
RGBrgb(40, 37, 176)
HSLhsl(241, 65%, 42%)
HSVhsv(241, 79%, 69%)
CMYKcmyk(77.3%, 79%, 0%, 31%)
CIE-LABlab(26.47, 47.92, -71.81)
CIE-LCHlch(26.47, 86.33, 303.72°)
OKLaboklab(38.69% 0.0071 -0.2078)
OKLCHoklch(38.69% 0.208 272)
XYZxyz(9.3705, 4.9078, 41.5193)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825B0 #ADB025
analogous
#2568B0 #2825B0 #6E25B0
triadic
#2825B0 #B02825 #25B028
tetradic
#2825B0 #B02568 #ADB025 #25B06E
square
#2825B0 #B02568 #ADB025 #25B06E
split-complementary
#2825B0 #B06E25 #68B025
monochromatic
#11104B #1D1A7D #2825B0 #3F3CD6 #716FE1

Accessibility & contrast

On white

10.60
#2825B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2825B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825B0
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825B0#FFFFFF#000000##FFFFFF
##2825B01.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2825b0;
/* rgb */ color: rgb(40, 37, 176);
/* oklch */ color: oklch(38.7% 0.208 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a63c9',
    500: '#2825b0',
    950: '#000000',
  },
}
SCSS
$custom: #2825b0;
$custom-light: #7a63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2825b0",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 241.295,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.20796,
    "h": 272
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#2825B0
secondary
#C5C76A
accent
#E840E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2825B0

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

Preview Lab → · Contrast checker → · Palette generator →

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