#282C69#282C69

#282C69 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.105 H 276.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#282C69
RGBrgb(40, 44, 105)
HSLhsl(236, 45%, 28%)
HSVhsv(236, 62%, 41%)
CMYKcmyk(61.9%, 58.1%, 0%, 58.8%)
CIE-LABlab(21.10, 18.58, -36.41)
CIE-LCHlch(21.10, 40.88, 297.03°)
OKLaboklab(32.72% 0.0112 -0.1044)
OKLCHoklch(32.72% 0.105 276.1)
XYZxyz(4.3247, 3.2721, 13.7655)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C69 #696528
analogous
#284C69 #282C69 #442869
triadic
#282C69 #69282C #2C6928
tetradic
#282C69 #69284C #696528 #286944
square
#282C69 #69284C #696528 #286944
split-complementary
#282C69 #694428 #4C6928
monochromatic
#080916 #17193D #282C69 #393F95 #4F56BC

Accessibility & contrast

On white

12.69
#282C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#282C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C69
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C69#FFFFFF#000000##FFFFFF
##282C691.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03366B
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282c69;
/* rgb */ color: rgb(40, 44, 105);
/* oklch */ color: oklch(32.7% 0.105 276.1);
Tailwind
colors: {
  custom: {
    50: '#696594',
    500: '#282c69',
    950: '#000000',
  },
}
SCSS
$custom: #282c69;
$custom-light: #696594;
$custom-dark: #000000;
JSON
{
  "hex": "#282c69",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 236.308,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32717,
    "c": 0.10498,
    "h": 276.1
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#282C69
secondary
#9C9751
accent
#CD53D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #282C69

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

Preview Lab → · Contrast checker → · Palette generator →

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