#282C5E#282C5E

#282C5E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.088 H 276.8°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#282C5E
RGBrgb(40, 44, 94)
HSLhsl(236, 40%, 26%)
HSVhsv(236, 57%, 37%)
CMYKcmyk(57.4%, 53.2%, 0%, 63.1%)
CIE-LABlab(20.28, 14.50, -30.53)
CIE-LCHlch(20.28, 33.80, 295.41°)
OKLaboklab(31.84% 0.0103 -0.0871)
OKLCHoklch(31.84% 0.088 276.8)
XYZxyz(3.7955, 3.0604, 10.9782)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C5E #5E5A28
analogous
#28475E #282C5E #3F285E
triadic
#282C5E #5E282C #2C5E28
tetradic
#282C5E #5E2847 #5E5A28 #285E3F
square
#282C5E #5E2847 #5E5A28 #285E3F
split-complementary
#282C5E #5E3F28 #475E28
monochromatic
#090A15 #161833 #282C5E #3A4089 #4D55B3

Accessibility & contrast

On white

13.03
#282C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C5E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C5E#FFFFFF#000000##FFFFFF
##282C5E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#0F3740
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282c5e;
/* rgb */ color: rgb(40, 44, 94);
/* oklch */ color: oklch(31.8% 0.088 276.8);
Tailwind
colors: {
  custom: {
    50: '#67658c',
    500: '#282c5e',
    950: '#000000',
  },
}
SCSS
$custom: #282c5e;
$custom-light: #67658c;
$custom-dark: #000000;
JSON
{
  "hex": "#282c5e",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 235.556,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31841,
    "c": 0.0877,
    "h": 276.8
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#282C5E
secondary
#918C51
accent
#C758D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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