#282C63#282C63

#282C63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.096 H 276.5°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#282C63
RGBrgb(40, 44, 99)
HSLhsl(236, 42%, 27%)
HSVhsv(236, 60%, 39%)
CMYKcmyk(59.6%, 55.6%, 0%, 61.2%)
CIE-LABlab(20.65, 16.35, -33.23)
CIE-LCHlch(20.65, 37.03, 296.20°)
OKLaboklab(32.23% 0.0108 -0.095)
OKLCHoklch(32.23% 0.096 276.5)
XYZxyz(4.0272, 3.1531, 12.1983)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C63 #635F28
analogous
#284A63 #282C63 #422863
triadic
#282C63 #63282C #2C6328
tetradic
#282C63 #63284A #635F28 #286342
square
#282C63 #63284A #635F28 #286342
split-complementary
#282C63 #634228 #4A6328
monochromatic
#090A16 #161937 #282C63 #3A3F8F #4E55B7

Accessibility & contrast

On white

12.88
#282C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#282C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C63
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C63#FFFFFF#000000##FFFFFF
##282C631.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3465
Deuteranopia (green-blind)
#032F62
Tritanopia (blue-blind)
#083843
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282c63;
/* rgb */ color: rgb(40, 44, 99);
/* oklch */ color: oklch(32.2% 0.096 276.5);
Tailwind
colors: {
  custom: {
    50: '#686590',
    500: '#282c63',
    950: '#000000',
  },
}
SCSS
$custom: #282c63;
$custom-light: #686590;
$custom-dark: #000000;
JSON
{
  "hex": "#282c63",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 235.932,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32231,
    "c": 0.09564,
    "h": 276.5
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#282C63
secondary
#969151
accent
#CA56D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282C63

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

Preview Lab → · Contrast checker → · Palette generator →

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