#282D99#282D99

#282D99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.172 H 272.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#282D99
RGBrgb(40, 45, 153)
HSLhsl(237, 59%, 38%)
HSVhsv(237, 74%, 60%)
CMYKcmyk(73.9%, 70.6%, 0%, 40%)
CIE-LABlab(25.64, 35.54, -59.24)
CIE-LCHlch(25.64, 69.08, 300.96°)
OKLaboklab(37.37% 0.0075 -0.1713)
OKLCHoklch(37.37% 0.172 272.5)
XYZxyz(7.5613, 4.6270, 30.6254)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D99 #999428
analogous
#286599 #282D99 #5B2899
triadic
#282D99 #99282D #2D9928
tetradic
#282D99 #992865 #999428 #28995B
square
#282D99 #992865 #999428 #28995B
split-complementary
#282D99 #995B28 #659928
monochromatic
#0F1038 #1B1F68 #282D99 #353BCA #656AD7

Accessibility & contrast

On white

10.91
#282D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#282D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D99
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D99#FFFFFF#000000##FFFFFF
##282D991.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282d99;
/* rgb */ color: rgb(40, 45, 153);
/* oklch */ color: oklch(37.4% 0.172 272.5);
Tailwind
colors: {
  custom: {
    50: '#7466b8',
    500: '#282d99',
    950: '#000000',
  },
}
SCSS
$custom: #282d99;
$custom-light: #7466b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282d99",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 237.345,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.1715,
    "h": 272.5
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#282D99
secondary
#BDB860
accent
#DB46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282D99

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

Preview Lab → · Contrast checker → · Palette generator →

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