#282D8F#282D8F

#282D8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.158 H 273.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#282D8F
RGBrgb(40, 45, 143)
HSLhsl(237, 56%, 36%)
HSVhsv(237, 72%, 56%)
CMYKcmyk(72%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.67, 31.95, -54.68)
CIE-LCHlch(24.67, 63.33, 300.30°)
OKLaboklab(36.37% 0.0087 -0.158)
OKLCHoklch(36.37% 0.158 273.1)
XYZxyz(6.7697, 4.3104, 26.4565)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D8F #8F8A28
analogous
#28608F #282D8F #56288F
triadic
#282D8F #8F282D #2D8F28
tetradic
#282D8F #8F2860 #8F8A28 #288F56
square
#282D8F #8F2860 #8F8A28 #288F56
split-complementary
#282D8F #8F5628 #608F28
monochromatic
#0D0F2F #1B1E5F #282D8F #353CBF #5F65D2

Accessibility & contrast

On white

11.28
#282D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#282D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D8F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D8F#FFFFFF#000000##FFFFFF
##282D8F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282d8f;
/* rgb */ color: rgb(40, 45, 143);
/* oklch */ color: oklch(36.4% 0.158 273.1);
Tailwind
colors: {
  custom: {
    50: '#7166b1',
    500: '#282d8f',
    950: '#000000',
  },
}
SCSS
$custom: #282d8f;
$custom-light: #7166b1;
$custom-dark: #000000;
JSON
{
  "hex": "#282d8f",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 237.087,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.15825,
    "h": 273.1
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#282D8F
secondary
#B8B35B
accent
#D848E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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