#282D8B#282D8B

#282D8B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.153 H 273.4°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#282D8B
RGBrgb(40, 45, 139)
HSLhsl(237, 55%, 35%)
HSVhsv(237, 71%, 55%)
CMYKcmyk(71.2%, 67.6%, 0%, 45.5%)
CIE-LABlab(24.29, 30.49, -52.81)
CIE-LCHlch(24.29, 60.98, 300.00°)
OKLaboklab(35.98% 0.0091 -0.1525)
OKLCHoklch(35.98% 0.153 273.4)
XYZxyz(6.4721, 4.1914, 24.8890)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D8B #8B8628
analogous
#285E8B #282D8B #55288B
triadic
#282D8B #8B282D #2D8B28
tetradic
#282D8B #8B285E #8B8628 #288B55
square
#282D8B #8B285E #8B8628 #288B55
split-complementary
#282D8B #8B5528 #5E8B28
monochromatic
#0D0E2C #1A1E5B #282D8B #363CBB #5D63D0

Accessibility & contrast

On white

11.42
#282D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D8B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D8B#FFFFFF#000000##FFFFFF
##282D8B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282d8b;
/* rgb */ color: rgb(40, 45, 139);
/* oklch */ color: oklch(36.0% 0.153 273.4);
Tailwind
colors: {
  custom: {
    50: '#7066ae',
    500: '#282d8b',
    950: '#000000',
  },
}
SCSS
$custom: #282d8b;
$custom-light: #7066ae;
$custom-dark: #000000;
JSON
{
  "hex": "#282d8b",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 236.97,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35983,
    "c": 0.15282,
    "h": 273.4
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#282D8B
secondary
#B6B159
accent
#D749DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #282D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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