#282C4E#282C4E

#282C4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.061 H 277.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#282C4E
RGBrgb(40, 44, 78)
HSLhsl(234, 32%, 23%)
HSVhsv(234, 49%, 31%)
CMYKcmyk(48.7%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.23, 8.74, -21.53)
CIE-LCHlch(19.23, 23.24, 292.10°)
OKLaboklab(30.7% 0.0075 -0.0607)
OKLCHoklch(30.7% 0.061 277.1)
XYZxyz(3.1505, 2.8024, 7.5812)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C4E #4E4A28
analogous
#283F4E #282C4E #37284E
triadic
#282C4E #4E282C #2C4E28
tetradic
#282C4E #4E283F #4E4A28 #284E37
square
#282C4E #4E283F #4E4A28 #284E37
split-complementary
#282C4E #4E3728 #3F4E28
monochromatic
#0A0B14 #131526 #282C4E #3D4376 #515A9F

Accessibility & contrast

On white

13.46
#282C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#282C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C4E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C4E#FFFFFF#000000##FFFFFF
##282C4E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#1B3339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282c4e;
/* rgb */ color: rgb(40, 44, 78);
/* oklch */ color: oklch(30.7% 0.061 277.1);
Tailwind
colors: {
  custom: {
    50: '#646480',
    500: '#282c4e',
    950: '#000000',
  },
}
SCSS
$custom: #282c4e;
$custom-light: #646480;
$custom-dark: #000000;
JSON
{
  "hex": "#282c4e",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 233.684,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30703,
    "c": 0.06119,
    "h": 277.1
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#282C4E
secondary
#817C51
accent
#BD5FC8
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #282C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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