#282C76#282C76

#282C76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.124 H 275.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#282C76
RGBrgb(40, 44, 118)
HSLhsl(237, 49%, 31%)
HSVhsv(237, 66%, 46%)
CMYKcmyk(66.1%, 62.7%, 0%, 53.7%)
CIE-LABlab(22.16, 23.42, -43.06)
CIE-LCHlch(22.16, 49.02, 298.54°)
OKLaboklab(33.84% 0.0112 -0.124)
OKLCHoklch(33.84% 0.124 275.2)
XYZxyz(5.0447, 3.5601, 17.5573)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C76 #767228
analogous
#285376 #282C76 #4B2876
triadic
#282C76 #76282C #2C7628
tetradic
#282C76 #762853 #767228 #28764B
square
#282C76 #762853 #767228 #28764B
split-complementary
#282C76 #764B28 #537628
monochromatic
#090A1B #191B48 #282C76 #373DA4 #5459C5

Accessibility & contrast

On white

12.27
#282C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#282C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C76
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C76#FFFFFF#000000##FFFFFF
##282C761.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282c76;
/* rgb */ color: rgb(40, 44, 118);
/* oklch */ color: oklch(33.8% 0.124 275.2);
Tailwind
colors: {
  custom: {
    50: '#6c659e',
    500: '#282c76',
    950: '#000000',
  },
}
SCSS
$custom: #282c76;
$custom-light: #6c659e;
$custom-dark: #000000;
JSON
{
  "hex": "#282c76",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 236.923,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33837,
    "c": 0.12447,
    "h": 275.2
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#282C76
secondary
#A8A452
accent
#D24FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282C76

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

Preview Lab → · Contrast checker → · Palette generator →

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