#282C66#282C66

#282C66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.100 H 276.3°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#282C66
RGBrgb(40, 44, 102)
HSLhsl(236, 44%, 28%)
HSVhsv(236, 61%, 40%)
CMYKcmyk(60.8%, 56.9%, 0%, 60%)
CIE-LABlab(20.87, 17.46, -34.83)
CIE-LCHlch(20.87, 38.96, 296.63°)
OKLaboklab(32.47% 0.011 -0.0997)
OKLCHoklch(32.47% 0.1 276.3)
XYZxyz(4.1733, 3.2115, 12.9678)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C66 #666228
analogous
#284B66 #282C66 #432866
triadic
#282C66 #66282C #2C6628
tetradic
#282C66 #66284B #666228 #286643
square
#282C66 #66284B #666228 #286643
split-complementary
#282C66 #664328 #4B6628
monochromatic
#090916 #17193A #282C66 #393F92 #4F56BA

Accessibility & contrast

On white

12.79
#282C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#282C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C66
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C66#FFFFFF#000000##FFFFFF
##282C661.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083568
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#033944
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282c66;
/* rgb */ color: rgb(40, 44, 102);
/* oklch */ color: oklch(32.5% 0.100 276.3);
Tailwind
colors: {
  custom: {
    50: '#686592',
    500: '#282c66',
    950: '#000000',
  },
}
SCSS
$custom: #282c66;
$custom-light: #686592;
$custom-dark: #000000;
JSON
{
  "hex": "#282c66",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 236.129,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.10035,
    "h": 276.3
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#282C66
secondary
#999451
accent
#CB54D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #282C66

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

Preview Lab → · Contrast checker → · Palette generator →

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