#2828B0#2828B0

#2828B0 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.205 H 271.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2828B0
RGBrgb(40, 40, 176)
HSLhsl(240, 63%, 42%)
HSVhsv(240, 77%, 69%)
CMYKcmyk(77.3%, 77.3%, 0%, 31%)
CIE-LABlab(27.02, 46.33, -70.89)
CIE-LCHlch(27.02, 84.68, 303.17°)
OKLaboklab(39.08% 0.006 -0.2052)
OKLCHoklch(39.08% 0.205 271.7)
XYZxyz(9.4677, 5.1023, 41.5517)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2828B0 #B0B028
analogous
#286CB0 #2828B0 #6C28B0
triadic
#2828B0 #B02828 #28B028
tetradic
#2828B0 #B0286C #B0B028 #28B06C
square
#2828B0 #B0286C #B0B028 #28B06C
split-complementary
#2828B0 #B06C28 #6CB028
monochromatic
#11114C #1D1D7E #2828B0 #4141D4 #7373DF

Accessibility & contrast

On white

10.39
#2828B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2828B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2828B0
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2828B0#FFFFFF#000000##FFFFFF
##2828B01.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2828b0;
/* rgb */ color: rgb(40, 40, 176);
/* oklch */ color: oklch(39.1% 0.205 271.7);
Tailwind
colors: {
  custom: {
    50: '#7a64c9',
    500: '#2828b0',
    950: '#000000',
  },
}
SCSS
$custom: #2828b0;
$custom-light: #7a64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2828b0",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 240,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39077,
    "c": 0.20531,
    "h": 271.7
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#2828B0
secondary
#C6C66D
accent
#E642E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2828B0

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

Preview Lab → · Contrast checker → · Palette generator →

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