#282981#282981

#282981 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.144 H 275.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#282981
RGBrgb(40, 41, 129)
HSLhsl(239, 53%, 33%)
HSVhsv(239, 69%, 51%)
CMYKcmyk(69%, 68.2%, 0%, 49.4%)
CIE-LABlab(22.38, 29.47, -49.69)
CIE-LCHlch(22.38, 57.77, 300.67°)
OKLaboklab(34.3% 0.0131 -0.1434)
OKLCHoklch(34.3% 0.144 275.2)
XYZxyz(5.6292, 3.6215, 21.1670)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282981 #818028
analogous
#285581 #282981 #532881
triadic
#282981 #812829 #298128
tetradic
#282981 #812855 #818028 #288153
square
#282981 #812855 #818028 #288153
split-complementary
#282981 #815328 #558128
monochromatic
#0B0B24 #1A1A52 #282981 #3638B0 #5859CB

Accessibility & contrast

On white

12.18
#282981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282981
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282981#FFFFFF#000000##FFFFFF
##2829811.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282981;
/* rgb */ color: rgb(40, 41, 129);
/* oklch */ color: oklch(34.3% 0.144 275.2);
Tailwind
colors: {
  custom: {
    50: '#6f63a6',
    500: '#282981',
    950: '#000000',
  },
}
SCSS
$custom: #282981;
$custom-light: #6f63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282981",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 239.326,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34302,
    "c": 0.14402,
    "h": 275.2
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#282981
secondary
#B0AF54
accent
#DA4CDC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #282981

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

Preview Lab → · Contrast checker → · Palette generator →

#282981 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva