#282C4C#282C4C

#282C4C is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.6% C 0.058 H 277.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#282C4C
RGBrgb(40, 44, 76)
HSLhsl(233, 31%, 23%)
HSVhsv(233, 47%, 30%)
CMYKcmyk(47.4%, 42.1%, 0%, 70.2%)
CIE-LABlab(19.12, 8.05, -20.37)
CIE-LCHlch(19.12, 21.90, 291.56°)
OKLaboklab(30.57% 0.007 -0.0573)
OKLCHoklch(30.57% 0.058 277)
XYZxyz(3.0799, 2.7741, 7.2093)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C4C #4C4828
analogous
#283E4C #282C4C #36284C
triadic
#282C4C #4C282C #2C4C28
tetradic
#282C4C #4C283E #4C4828 #284C36
square
#282C4C #4C283E #4C4828 #284C36
split-complementary
#282C4C #4C3628 #3E4C28
monochromatic
#0B0C14 #131524 #282C4C #3D4374 #525A9C

Accessibility & contrast

On white

13.51
#282C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#282C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C4C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C4C#FFFFFF#000000##FFFFFF
##282C4C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304D
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#1C3238
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282c4c;
/* rgb */ color: rgb(40, 44, 76);
/* oklch */ color: oklch(30.6% 0.058 277.0);
Tailwind
colors: {
  custom: {
    50: '#64647e',
    500: '#282c4c',
    950: '#000000',
  },
}
SCSS
$custom: #282c4c;
$custom-light: #64647e;
$custom-dark: #000000;
JSON
{
  "hex": "#282c4c",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 233.333,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30573,
    "c": 0.05776,
    "h": 277
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#282C4C
secondary
#7E7951
accent
#BC61C7
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #282C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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