#282C82#282C82

#282C82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.142 H 274.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#282C82
RGBrgb(40, 44, 130)
HSLhsl(237, 53%, 33%)
HSVhsv(237, 69%, 51%)
CMYKcmyk(69.2%, 66.2%, 0%, 49%)
CIE-LABlab(23.22, 27.86, -48.95)
CIE-LCHlch(23.22, 56.32, 299.65°)
OKLaboklab(34.94% 0.0106 -0.1412)
OKLCHoklch(34.94% 0.142 274.3)
XYZxyz(5.8037, 3.8637, 21.5547)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C82 #827E28
analogous
#285982 #282C82 #512882
triadic
#282C82 #82282C #2C8228
tetradic
#282C82 #822859 #827E28 #288251
square
#282C82 #822859 #827E28 #288251
split-complementary
#282C82 #825128 #598228
monochromatic
#0B0C24 #1A1C53 #282C82 #363CB1 #595ECC

Accessibility & contrast

On white

11.85
#282C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#282C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C82
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C82#FFFFFF#000000##FFFFFF
##282C821.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282c82;
/* rgb */ color: rgb(40, 44, 130);
/* oklch */ color: oklch(34.9% 0.142 274.3);
Tailwind
colors: {
  custom: {
    50: '#6e65a7',
    500: '#282c82',
    950: '#000000',
  },
}
SCSS
$custom: #282c82;
$custom-light: #6e65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#282c82",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 237.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3494,
    "c": 0.14163,
    "h": 274.3
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#282C82
secondary
#B1AD55
accent
#D64BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #282C82

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

Preview Lab → · Contrast checker → · Palette generator →

#282C82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva