#283141#283141

#283141 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.031 H 261.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#283141
RGBrgb(40, 49, 65)
HSLhsl(218, 24%, 21%)
HSVhsv(218, 38%, 25%)
CMYKcmyk(38.5%, 24.6%, 0%, 74.5%)
CIE-LABlab(20.16, 0.86, -11.27)
CIE-LCHlch(20.16, 11.31, 274.36°)
OKLaboklab(31.19% -0.0045 -0.0311)
OKLCHoklch(31.19% 0.031 261.8)
XYZxyz(2.9272, 3.0293, 5.4305)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283141 #413828
analogous
#283D41 #283141 #2B2841
triadic
#283141 #412831 #314128
tetradic
#283141 #41283D #413828 #28412B
square
#283141 #41283D #413828 #28412B
split-complementary
#283141 #412B28 #3D4128
monochromatic
#0C0E13 #11141B #283141 #3F4E67 #576A8D

Accessibility & contrast

On white

13.08
#283141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#283141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283141
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283141#FFFFFF#000000##FFFFFF
##2831411.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3242
Deuteranopia (green-blind)
#293041
Tritanopia (blue-blind)
#213436
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #283141;
/* rgb */ color: rgb(40, 49, 65);
/* oklch */ color: oklch(31.2% 0.031 261.8);
Tailwind
colors: {
  custom: {
    50: '#636875',
    500: '#283141',
    950: '#000000',
  },
}
SCSS
$custom: #283141;
$custom-light: #636875;
$custom-dark: #000000;
JSON
{
  "hex": "#283141",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 65
  },
  "hsl": {
    "h": 218.4,
    "s": 23.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31194,
    "c": 0.03147,
    "h": 261.8
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#283141
secondary
#736752
accent
#A068C0
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #283141

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

Preview Lab → · Contrast checker → · Palette generator →

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