#282941#282941

#282941 is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.2% C 0.044 H 281.5°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#282941
RGBrgb(40, 41, 65)
HSLhsl(238, 24%, 21%)
HSVhsv(238, 38%, 25%)
CMYKcmyk(38.5%, 36.9%, 0%, 74.5%)
CIE-LABlab(17.55, 6.48, -15.32)
CIE-LCHlch(17.55, 16.63, 292.93°)
OKLaboklab(29.16% 0.0087 -0.0427)
OKLCHoklch(29.16% 0.044 281.5)
XYZxyz(2.6219, 2.4186, 5.3287)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282941 #414028
analogous
#283541 #282941 #332841
triadic
#282941 #412829 #294128
tetradic
#282941 #412835 #414028 #284133
square
#282941 #412835 #414028 #284133
split-complementary
#282941 #413328 #354128
monochromatic
#0C0C13 #11111B #282941 #3F4167 #57598D

Accessibility & contrast

On white

14.15
#282941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282941
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282941#FFFFFF#000000##FFFFFF
##2829411.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C42
Deuteranopia (green-blind)
#212A40
Tritanopia (blue-blind)
#212E32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282941;
/* rgb */ color: rgb(40, 41, 65);
/* oklch */ color: oklch(29.2% 0.044 281.5);
Tailwind
colors: {
  custom: {
    50: '#636275',
    500: '#282941',
    950: '#000000',
  },
}
SCSS
$custom: #282941;
$custom-light: #636275;
$custom-dark: #000000;
JSON
{
  "hex": "#282941",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 65
  },
  "hsl": {
    "h": 237.6,
    "s": 23.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29163,
    "c": 0.04358,
    "h": 281.5
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#282941
secondary
#737152
accent
#BD68C0
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050508
muted
#79797B

Preview Lab

Preview with #282941

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

Preview Lab → · Contrast checker → · Palette generator →

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