#282982#282982

#282982 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.145 H 275.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#282982
RGBrgb(40, 41, 130)
HSLhsl(239, 53%, 33%)
HSVhsv(239, 69%, 51%)
CMYKcmyk(69.2%, 68.5%, 0%, 49%)
CIE-LABlab(22.47, 29.83, -50.17)
CIE-LCHlch(22.47, 58.37, 300.74°)
OKLaboklab(34.4% 0.013 -0.1448)
OKLCHoklch(34.4% 0.145 275.1)
XYZxyz(5.6959, 3.6482, 21.5188)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282982 #828128
analogous
#285682 #282982 #542882
triadic
#282982 #822829 #298228
tetradic
#282982 #822856 #828128 #288254
square
#282982 #822856 #828128 #288254
split-complementary
#282982 #825428 #568228
monochromatic
#0B0B24 #1A1A53 #282982 #3638B1 #595ACC

Accessibility & contrast

On white

12.14
#282982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#282982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282982
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282982#FFFFFF#000000##FFFFFF
##2829821.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282982;
/* rgb */ color: rgb(40, 41, 130);
/* oklch */ color: oklch(34.4% 0.145 275.1);
Tailwind
colors: {
  custom: {
    50: '#6f63a7',
    500: '#282982',
    950: '#000000',
  },
}
SCSS
$custom: #282982;
$custom-light: #6f63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#282982",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 239.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34399,
    "c": 0.14539,
    "h": 275.1
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#282982
secondary
#B1B055
accent
#DB4BDC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282982

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

Preview Lab → · Contrast checker → · Palette generator →

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