#282D86#282D86

#282D86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.146 H 273.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#282D86
RGBrgb(40, 45, 134)
HSLhsl(237, 54%, 34%)
HSVhsv(237, 70%, 53%)
CMYKcmyk(70.1%, 66.4%, 0%, 47.5%)
CIE-LABlab(23.83, 28.66, -50.45)
CIE-LCHlch(23.83, 58.03, 299.60°)
OKLaboklab(35.5% 0.0095 -0.1456)
OKLCHoklch(35.5% 0.146 273.7)
XYZxyz(6.1151, 4.0486, 23.0088)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D86 #868128
analogous
#285C86 #282D86 #522886
triadic
#282D86 #86282D #2D8628
tetradic
#282D86 #86285C #868128 #288652
square
#282D86 #86285C #868128 #288652
split-complementary
#282D86 #865228 #5C8628
monochromatic
#0C0D28 #1A1D57 #282D86 #363DB5 #5B61CE

Accessibility & contrast

On white

11.60
#282D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D86
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D86#FFFFFF#000000##FFFFFF
##282D861.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282d86;
/* rgb */ color: rgb(40, 45, 134);
/* oklch */ color: oklch(35.5% 0.146 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f66aa',
    500: '#282d86',
    950: '#000000',
  },
}
SCSS
$custom: #282d86;
$custom-light: #6f66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#282d86",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 236.809,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35503,
    "c": 0.14594,
    "h": 273.7
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#282D86
secondary
#B3AE57
accent
#D64ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282D86

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

Preview Lab → · Contrast checker → · Palette generator →

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