#282D8E#282D8E

#282D8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.157 H 273.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#282D8E
RGBrgb(40, 45, 142)
HSLhsl(237, 56%, 36%)
HSVhsv(237, 72%, 56%)
CMYKcmyk(71.8%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.58, 31.59, -54.21)
CIE-LCHlch(24.58, 62.74, 300.23°)
OKLaboklab(36.28% 0.0088 -0.1567)
OKLCHoklch(36.28% 0.157 273.2)
XYZxyz(6.6943, 4.2802, 26.0593)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D8E #8E8928
analogous
#28608E #282D8E #56288E
triadic
#282D8E #8E282D #2D8E28
tetradic
#282D8E #8E2860 #8E8928 #288E56
square
#282D8E #8E2860 #8E8928 #288E56
split-complementary
#282D8E #8E5628 #608E28
monochromatic
#0D0F2F #1B1E5E #282D8E #353CBE #5F64D2

Accessibility & contrast

On white

11.31
#282D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#282D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D8E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D8E#FFFFFF#000000##FFFFFF
##282D8E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282d8e;
/* rgb */ color: rgb(40, 45, 142);
/* oklch */ color: oklch(36.3% 0.157 273.2);
Tailwind
colors: {
  custom: {
    50: '#7166b0',
    500: '#282d8e',
    950: '#000000',
  },
}
SCSS
$custom: #282d8e;
$custom-light: #7166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#282d8e",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 237.059,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36276,
    "c": 0.1569,
    "h": 273.2
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#282D8E
secondary
#B7B35B
accent
#D848DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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