#20283F#20283F

#20283F is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.1% C 0.044 H 268.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#20283F
RGBrgb(32, 40, 63)
HSLhsl(225, 33%, 19%)
HSVhsv(225, 49%, 25%)
CMYKcmyk(49.2%, 36.5%, 0%, 75.3%)
CIE-LABlab(16.42, 3.85, -15.74)
CIE-LCHlch(16.42, 16.21, 283.73°)
OKLaboklab(28.08% -0.0009 -0.0441)
OKLCHoklch(28.08% 0.044 268.8)
XYZxyz(2.2514, 2.1834, 5.0045)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20283F #3F3720
analogous
#20373F #20283F #27203F
triadic
#20283F #3F2028 #283F20
tetradic
#20283F #3F2037 #3F3720 #203F27
square
#20283F #3F2037 #3F3720 #203F27
split-complementary
#20283F #3F2720 #373F20
monochromatic
#0A0D14 #0B0E16 #20283F #354268 #495C90

Accessibility & contrast

On white

14.62
#20283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#20283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20283F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20283F#FFFFFF#000000##FFFFFF
##20283F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#1D273E
Tritanopia (blue-blind)
#152D30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20283f;
/* rgb */ color: rgb(32, 40, 63);
/* oklch */ color: oklch(28.1% 0.044 268.8);
Tailwind
colors: {
  custom: {
    50: '#5d6174',
    500: '#20283f',
    950: '#000000',
  },
}
SCSS
$custom: #20283f;
$custom-light: #5d6174;
$custom-dark: #000000;
JSON
{
  "hex": "#20283f",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 224.516,
    "s": 32.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28083,
    "c": 0.04411,
    "h": 268.8
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#20283F
secondary
#736848
accent
#AD5FC9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B

Preview Lab

Preview with #20283F

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

Preview Lab → · Contrast checker → · Palette generator →

#20283F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva