#283142#283142

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

Color values

HEX#283142
RGBrgb(40, 49, 66)
HSLhsl(219, 25%, 21%)
HSVhsv(219, 39%, 26%)
CMYKcmyk(39.4%, 25.8%, 0%, 74.1%)
CIE-LABlab(20.21, 1.18, -11.88)
CIE-LCHlch(20.21, 11.94, 275.68°)
OKLaboklab(31.25% -0.0041 -0.0329)
OKLCHoklch(31.25% 0.033 262.9)
XYZxyz(2.9565, 3.0410, 5.5844)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283142 #423928
analogous
#283E42 #283142 #2C2842
triadic
#283142 #422831 #314228
tetradic
#283142 #42283E #423928 #28422C
square
#283142 #42283E #423928 #28422C
split-complementary
#283142 #422C28 #3E4228
monochromatic
#0C0E13 #11151C #283142 #3F4D68 #566A8E

Accessibility & contrast

On white

13.06
#283142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283142
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283142#FFFFFF#000000##FFFFFF
##2831421.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3243
Deuteranopia (green-blind)
#293042
Tritanopia (blue-blind)
#203437
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #283142;
/* rgb */ color: rgb(40, 49, 66);
/* oklch */ color: oklch(31.2% 0.033 262.9);
Tailwind
colors: {
  custom: {
    50: '#636876',
    500: '#283142',
    950: '#000000',
  },
}
SCSS
$custom: #283142;
$custom-light: #636876;
$custom-dark: #000000;
JSON
{
  "hex": "#283142",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 219.231,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.03313,
    "h": 262.9
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#283142
secondary
#746852
accent
#A267C1
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #283142

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

Preview Lab → · Contrast checker → · Palette generator →

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