#282C59#282C59

#282C59 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.080 H 277.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#282C59
RGBrgb(40, 44, 89)
HSLhsl(235, 38%, 25%)
HSVhsv(235, 55%, 35%)
CMYKcmyk(55.1%, 50.6%, 0%, 65.1%)
CIE-LABlab(19.94, 12.68, -27.77)
CIE-LCHlch(19.94, 30.53, 294.53°)
OKLaboklab(31.47% 0.0097 -0.079)
OKLCHoklch(31.47% 0.08 277)
XYZxyz(3.5784, 2.9735, 9.8346)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C59 #595528
analogous
#284459 #282C59 #3C2859
triadic
#282C59 #59282C #2C5928
tetradic
#282C59 #592844 #595528 #28593C
square
#282C59 #592844 #595528 #28593C
split-complementary
#282C59 #593C28 #445928
monochromatic
#090A15 #15172F #282C59 #3B4183 #4E56AD

Accessibility & contrast

On white

13.17
#282C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#282C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C59
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C59#FFFFFF#000000##FFFFFF
##282C591.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325B
Deuteranopia (green-blind)
#132E58
Tritanopia (blue-blind)
#14363E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282c59;
/* rgb */ color: rgb(40, 44, 89);
/* oklch */ color: oklch(31.5% 0.080 277.0);
Tailwind
colors: {
  custom: {
    50: '#666488',
    500: '#282c59',
    950: '#000000',
  },
}
SCSS
$custom: #282c59;
$custom-light: #666488;
$custom-dark: #000000;
JSON
{
  "hex": "#282c59",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 89
  },
  "hsl": {
    "h": 235.102,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.07958,
    "h": 277
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#282C59
secondary
#8C8751
accent
#C45ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282C59

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

Preview Lab → · Contrast checker → · Palette generator →

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