#282D80#282D80

#282D80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.138 H 274.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#282D80
RGBrgb(40, 45, 128)
HSLhsl(237, 52%, 33%)
HSVhsv(237, 69%, 50%)
CMYKcmyk(68.8%, 64.8%, 0%, 49.8%)
CIE-LABlab(23.29, 26.45, -47.57)
CIE-LCHlch(23.29, 54.43, 299.08°)
OKLaboklab(34.94% 0.0099 -0.1372)
OKLCHoklch(34.94% 0.138 274.1)
XYZxyz(5.7084, 3.8859, 20.8671)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D80 #807B28
analogous
#285980 #282D80 #4F2880
triadic
#282D80 #80282D #2D8028
tetradic
#282D80 #802859 #807B28 #28804F
square
#282D80 #802859 #807B28 #28804F
split-complementary
#282D80 #804F28 #598028
monochromatic
#0B0C23 #191D51 #282D80 #373DAF #585ECB

Accessibility & contrast

On white

11.82
#282D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#282D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D80
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D80#FFFFFF#000000##FFFFFF
##282D801.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282d80;
/* rgb */ color: rgb(40, 45, 128);
/* oklch */ color: oklch(34.9% 0.138 274.1);
Tailwind
colors: {
  custom: {
    50: '#6e66a6',
    500: '#282d80',
    950: '#000000',
  },
}
SCSS
$custom: #282d80;
$custom-light: #6e66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282d80",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 236.591,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3494,
    "c": 0.13753,
    "h": 274.1
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#282D80
secondary
#B0AB54
accent
#D44CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #282D80

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

Preview Lab → · Contrast checker → · Palette generator →

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