#282D50#282D50

#282D50 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.063 H 276.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#282D50
RGBrgb(40, 45, 80)
HSLhsl(233, 33%, 24%)
HSVhsv(233, 50%, 31%)
CMYKcmyk(50%, 43.7%, 0%, 68.6%)
CIE-LABlab(19.67, 8.73, -22.19)
CIE-LCHlch(19.67, 23.85, 291.48°)
OKLaboklab(31.07% 0.0065 -0.0626)
OKLCHoklch(31.07% 0.063 276)
XYZxyz(3.2610, 2.9069, 7.9771)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D50 #504B28
analogous
#284150 #282D50 #372850
triadic
#282D50 #50282D #2D5028
tetradic
#282D50 #502841 #504B28 #285037
square
#282D50 #502841 #504B28 #285037
split-complementary
#282D50 #503728 #415028
monochromatic
#0A0B14 #141627 #282D50 #3C4479 #515BA2

Accessibility & contrast

On white

13.28
#282D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D50
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D50#FFFFFF#000000##FFFFFF
##282D501.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203151
Deuteranopia (green-blind)
#1D2E4F
Tritanopia (blue-blind)
#1A343A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282d50;
/* rgb */ color: rgb(40, 45, 80);
/* oklch */ color: oklch(31.1% 0.063 276.0);
Tailwind
colors: {
  custom: {
    50: '#646581',
    500: '#282d50',
    950: '#000000',
  },
}
SCSS
$custom: #282d50;
$custom-light: #646581;
$custom-dark: #000000;
JSON
{
  "hex": "#282d50",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 232.5,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31074,
    "c": 0.06298,
    "h": 276
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#282D50
secondary
#837C51
accent
#BC5EC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #282D50

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

Preview Lab → · Contrast checker → · Palette generator →

#282D50 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva