#282D8D#282D8D

#282D8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.156 H 273.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#282D8D
RGBrgb(40, 45, 141)
HSLhsl(237, 56%, 35%)
HSVhsv(237, 72%, 55%)
CMYKcmyk(71.6%, 68.1%, 0%, 44.7%)
CIE-LABlab(24.48, 31.22, -53.75)
CIE-LCHlch(24.48, 62.16, 300.15°)
OKLaboklab(36.18% 0.0089 -0.1553)
OKLCHoklch(36.18% 0.156 273.3)
XYZxyz(6.6196, 4.2503, 25.6657)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D8D #8D8828
analogous
#285F8D #282D8D #56288D
triadic
#282D8D #8D282D #2D8D28
tetradic
#282D8D #8D285F #8D8828 #288D56
square
#282D8D #8D285F #8D8828 #288D56
split-complementary
#282D8D #8D5628 #5F8D28
monochromatic
#0D0F2E #1A1E5D #282D8D #363CBD #5E64D1

Accessibility & contrast

On white

11.35
#282D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#282D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D8D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D8D#FFFFFF#000000##FFFFFF
##282D8D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282d8d;
/* rgb */ color: rgb(40, 45, 141);
/* oklch */ color: oklch(36.2% 0.156 273.3);
Tailwind
colors: {
  custom: {
    50: '#7166af',
    500: '#282d8d',
    950: '#000000',
  },
}
SCSS
$custom: #282d8d;
$custom-light: #7166af;
$custom-dark: #000000;
JSON
{
  "hex": "#282d8d",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 237.03,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36178,
    "c": 0.15554,
    "h": 273.3
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#282D8D
secondary
#B7B25A
accent
#D849DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #282D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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