#282C5C#282C5C

#282C5C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.084 H 276.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#282C5C
RGBrgb(40, 44, 92)
HSLhsl(235, 39%, 26%)
HSVhsv(235, 57%, 36%)
CMYKcmyk(56.5%, 52.2%, 0%, 63.9%)
CIE-LABlab(20.14, 13.77, -29.43)
CIE-LCHlch(20.14, 32.49, 295.07°)
OKLaboklab(31.69% 0.0101 -0.0839)
OKLCHoklch(31.69% 0.084 276.9)
XYZxyz(3.7069, 3.0250, 10.5117)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C5C #5C5828
analogous
#28465C #282C5C #3E285C
triadic
#282C5C #5C282C #2C5C28
tetradic
#282C5C #5C2846 #5C5828 #285C3E
square
#282C5C #5C2846 #5C5828 #285C3E
split-complementary
#282C5C #5C3E28 #465C28
monochromatic
#090A15 #151831 #282C5C #3B4087 #4D55B1

Accessibility & contrast

On white

13.08
#282C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C5C
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C5C#FFFFFF#000000##FFFFFF
##282C5C1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335E
Deuteranopia (green-blind)
#102F5B
Tritanopia (blue-blind)
#11373F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282c5c;
/* rgb */ color: rgb(40, 44, 92);
/* oklch */ color: oklch(31.7% 0.084 276.9);
Tailwind
colors: {
  custom: {
    50: '#66658a',
    500: '#282c5c',
    950: '#000000',
  },
}
SCSS
$custom: #282c5c;
$custom-light: #66658a;
$custom-dark: #000000;
JSON
{
  "hex": "#282c5c",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 235.385,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3169,
    "c": 0.08447,
    "h": 276.9
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#282C5C
secondary
#8F8A51
accent
#C659CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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