#293240#293240

#293240 is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.5% C 0.028 H 259.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#293240
RGBrgb(41, 50, 64)
HSLhsl(217, 22%, 21%)
HSVhsv(217, 36%, 25%)
CMYKcmyk(35.9%, 21.9%, 0%, 74.9%)
CIE-LABlab(20.53, 0.21, -10.02)
CIE-LCHlch(20.53, 10.02, 271.23°)
OKLaboklab(31.49% -0.0053 -0.0276)
OKLCHoklch(31.49% 0.028 259.1)
XYZxyz(2.9802, 3.1227, 5.2952)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293240 #403729
analogous
#293D40 #293240 #2B2940
triadic
#293240 #402932 #324029
tetradic
#293240 #40293D #403729 #29402B
square
#293240 #40293D #403729 #29402B
split-complementary
#293240 #402B29 #3D4029
monochromatic
#0C0F13 #11151B #293240 #414F65 #596C8B

Accessibility & contrast

On white

12.93
#293240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#293240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293240
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293240#FFFFFF#000000##FFFFFF
##2932401.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3341
Deuteranopia (green-blind)
#2B3040
Tritanopia (blue-blind)
#223537
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #293240;
/* rgb */ color: rgb(41, 50, 64);
/* oklch */ color: oklch(31.5% 0.028 259.1);
Tailwind
colors: {
  custom: {
    50: '#636974',
    500: '#293240',
    950: '#000000',
  },
}
SCSS
$custom: #293240;
$custom-light: #636974;
$custom-dark: #000000;
JSON
{
  "hex": "#293240",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 64
  },
  "hsl": {
    "h": 216.522,
    "s": 21.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31488,
    "c": 0.0281,
    "h": 259.1
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#293240
secondary
#716653
accent
#9D69BE
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #293240

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

Preview Lab → · Contrast checker → · Palette generator →

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