#282D8A#282D8A

#282D8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.151 H 273.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#282D8A
RGBrgb(40, 45, 138)
HSLhsl(237, 55%, 35%)
HSVhsv(237, 71%, 54%)
CMYKcmyk(71%, 67.4%, 0%, 45.9%)
CIE-LABlab(24.20, 30.13, -52.34)
CIE-LCHlch(24.20, 60.40, 299.92°)
OKLaboklab(35.89% 0.0092 -0.1512)
OKLCHoklch(35.89% 0.151 273.5)
XYZxyz(6.3994, 4.1623, 24.5060)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D8A #8A8528
analogous
#285E8A #282D8A #54288A
triadic
#282D8A #8A282D #2D8A28
tetradic
#282D8A #8A285E #8A8528 #288A54
square
#282D8A #8A285E #8A8528 #288A54
split-complementary
#282D8A #8A5428 #5E8A28
monochromatic
#0C0E2B #1A1E5B #282D8A #363CB9 #5D62D0

Accessibility & contrast

On white

11.46
#282D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D8A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D8A#FFFFFF#000000##FFFFFF
##282D8A1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282d8a;
/* rgb */ color: rgb(40, 45, 138);
/* oklch */ color: oklch(35.9% 0.151 273.5);
Tailwind
colors: {
  custom: {
    50: '#7066ad',
    500: '#282d8a',
    950: '#000000',
  },
}
SCSS
$custom: #282d8a;
$custom-light: #7066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#282d8a",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 236.939,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.15146,
    "h": 273.5
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#282D8A
secondary
#B5B059
accent
#D749DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #282D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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