#282C67#282C67

#282C67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.102 H 276.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#282C67
RGBrgb(40, 44, 103)
HSLhsl(236, 44%, 28%)
HSVhsv(236, 61%, 40%)
CMYKcmyk(61.2%, 57.3%, 0%, 59.6%)
CIE-LABlab(20.95, 17.84, -35.36)
CIE-LCHlch(20.95, 39.60, 296.77°)
OKLaboklab(32.55% 0.0111 -0.1013)
OKLCHoklch(32.55% 0.102 276.2)
XYZxyz(4.2231, 3.2314, 13.2305)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C67 #676328
analogous
#284B67 #282C67 #432867
triadic
#282C67 #67282C #2C6728
tetradic
#282C67 #67284B #676328 #286743
square
#282C67 #67284B #676328 #286743
split-complementary
#282C67 #674328 #4B6728
monochromatic
#090916 #17193B #282C67 #393F93 #4F56BB

Accessibility & contrast

On white

12.76
#282C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C67
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C67#FFFFFF#000000##FFFFFF
##282C671.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063569
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#023A45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282c67;
/* rgb */ color: rgb(40, 44, 103);
/* oklch */ color: oklch(32.6% 0.102 276.2);
Tailwind
colors: {
  custom: {
    50: '#696593',
    500: '#282c67',
    950: '#000000',
  },
}
SCSS
$custom: #282c67;
$custom-light: #696593;
$custom-dark: #000000;
JSON
{
  "hex": "#282c67",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 236.19,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32553,
    "c": 0.10189,
    "h": 276.2
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#282C67
secondary
#9A9551
accent
#CC54D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #282C67

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

Preview Lab → · Contrast checker → · Palette generator →

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