#282C6D#282C6D

#282C6D is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.111 H 275.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#282C6D
RGBrgb(40, 44, 109)
HSLhsl(237, 46%, 29%)
HSVhsv(237, 63%, 43%)
CMYKcmyk(63.3%, 59.6%, 0%, 57.3%)
CIE-LABlab(21.42, 20.07, -38.49)
CIE-LCHlch(21.42, 43.41, 297.54°)
OKLaboklab(33.05% 0.0113 -0.1105)
OKLCHoklch(33.05% 0.111 275.8)
XYZxyz(4.5352, 3.3563, 14.8739)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C6D #6D6928
analogous
#284F6D #282C6D #47286D
triadic
#282C6D #6D282C #2C6D28
tetradic
#282C6D #6D284F #6D6928 #286D47
square
#282C6D #6D284F #6D6928 #286D47
split-complementary
#282C6D #6D4728 #4F6D28
monochromatic
#080916 #181A40 #282C6D #383E9A #5057BF

Accessibility & contrast

On white

12.56
#282C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C6D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C6D#FFFFFF#000000##FFFFFF
##282C6D1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282c6d;
/* rgb */ color: rgb(40, 44, 109);
/* oklch */ color: oklch(33.1% 0.111 275.8);
Tailwind
colors: {
  custom: {
    50: '#6a6597',
    500: '#282c6d',
    950: '#000000',
  },
}
SCSS
$custom: #282c6d;
$custom-light: #6a6597;
$custom-dark: #000000;
JSON
{
  "hex": "#282c6d",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 236.522,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33052,
    "c": 0.11108,
    "h": 275.8
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#282C6D
secondary
#9F9B51
accent
#CE52D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #282C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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