#282938#282938

#282938 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.7% C 0.027 H 281.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#282938
RGBrgb(40, 41, 56)
HSLhsl(236, 17%, 19%)
HSVhsv(236, 29%, 22%)
CMYKcmyk(28.6%, 26.8%, 0%, 78%)
CIE-LABlab(17.10, 3.66, -9.77)
CIE-LCHlch(17.10, 10.43, 290.51°)
OKLaboklab(28.67% 0.0055 -0.0269)
OKLCHoklch(28.67% 0.027 281.5)
XYZxyz(2.3816, 2.3225, 4.0634)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282938 #383728
analogous
#283138 #282938 #2F2838
triadic
#282938 #382829 #293828
tetradic
#282938 #382831 #383728 #28382F
square
#282938 #382831 #383728 #28382F
split-complementary
#282938 #382F28 #313828
monochromatic
#0D0D12 #0F0F14 #282938 #42435C #5B5D7F

Accessibility & contrast

On white

14.34
#282938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#282938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282938
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282938#FFFFFF#000000##FFFFFF
##2829381.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B39
Deuteranopia (green-blind)
#242A38
Tritanopia (blue-blind)
#242C2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282938;
/* rgb */ color: rgb(40, 41, 56);
/* oklch */ color: oklch(28.7% 0.027 281.5);
Tailwind
colors: {
  custom: {
    50: '#62626e',
    500: '#282938',
    950: '#000000',
  },
}
SCSS
$custom: #282938;
$custom-light: #62626e;
$custom-dark: #000000;
JSON
{
  "hex": "#282938",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 236.25,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28666,
    "c": 0.02741,
    "h": 281.5
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#282938
secondary
#696753
accent
#B56EB9
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #282938

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

Preview Lab → · Contrast checker → · Palette generator →

#282938 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva