#282C60#282C60

#282C60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.091 H 276.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#282C60
RGBrgb(40, 44, 96)
HSLhsl(236, 41%, 27%)
HSVhsv(236, 58%, 38%)
CMYKcmyk(58.3%, 54.2%, 0%, 62.4%)
CIE-LABlab(20.43, 15.24, -31.61)
CIE-LCHlch(20.43, 35.10, 295.74°)
OKLaboklab(32% 0.0105 -0.0903)
OKLCHoklch(32% 0.091 276.7)
XYZxyz(3.8864, 3.0968, 11.4570)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C60 #605C28
analogous
#284860 #282C60 #402860
triadic
#282C60 #60282C #2C6028
tetradic
#282C60 #602848 #605C28 #286040
square
#282C60 #602848 #605C28 #286040
split-complementary
#282C60 #604028 #486028
monochromatic
#090A16 #161835 #282C60 #3A408B #4D55B5

Accessibility & contrast

On white

12.97
#282C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C60
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C60#FFFFFF#000000##FFFFFF
##282C601.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113462
Deuteranopia (green-blind)
#092F5F
Tritanopia (blue-blind)
#0C3841
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282c60;
/* rgb */ color: rgb(40, 44, 96);
/* oklch */ color: oklch(32.0% 0.091 276.7);
Tailwind
colors: {
  custom: {
    50: '#67658d',
    500: '#282c60',
    950: '#000000',
  },
}
SCSS
$custom: #282c60;
$custom-light: #67658d;
$custom-dark: #000000;
JSON
{
  "hex": "#282c60",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 235.714,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31995,
    "c": 0.09089,
    "h": 276.7
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#282C60
secondary
#938E51
accent
#C857D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282C60

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

Preview Lab → · Contrast checker → · Palette generator →

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