#282D9D#282D9D

#282D9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.177 H 272.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#282D9D
RGBrgb(40, 45, 157)
HSLhsl(237, 59%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(74.5%, 71.3%, 0%, 38.4%)
CIE-LABlab(26.04, 36.96, -61.03)
CIE-LCHlch(26.04, 71.34, 301.20°)
OKLaboklab(37.78% 0.007 -0.1766)
OKLCHoklch(37.78% 0.177 272.3)
XYZxyz(7.8972, 4.7614, 32.3946)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D9D #9D9828
analogous
#28679D #282D9D #5D289D
triadic
#282D9D #9D282D #2D9D28
tetradic
#282D9D #9D2867 #9D9828 #289D5D
square
#282D9D #9D2867 #9D9828 #289D5D
split-complementary
#282D9D #9D5D28 #679D28
monochromatic
#0F113B #1C1F6C #282D9D #363DCC #676CD8

Accessibility & contrast

On white

10.76
#282D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#282D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D9D
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D9D#FFFFFF#000000##FFFFFF
##282D9D1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282d9d;
/* rgb */ color: rgb(40, 45, 157);
/* oklch */ color: oklch(37.8% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#7567bb',
    500: '#282d9d',
    950: '#000000',
  },
}
SCSS
$custom: #282d9d;
$custom-light: #7567bb;
$custom-dark: #000000;
JSON
{
  "hex": "#282d9d",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 237.436,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37781,
    "c": 0.1767,
    "h": 272.3
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#282D9D
secondary
#BEBA62
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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