#282999#282999

#282999 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.176 H 273.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#282999
RGBrgb(40, 41, 153)
HSLhsl(239, 59%, 38%)
HSVhsv(239, 74%, 60%)
CMYKcmyk(73.9%, 73.2%, 0%, 40%)
CIE-LABlab(24.75, 37.99, -60.71)
CIE-LCHlch(24.75, 71.62, 302.04°)
OKLaboklab(36.73% 0.0098 -0.1756)
OKLCHoklch(36.73% 0.176 273.2)
XYZxyz(7.4159, 4.3362, 30.5770)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282999 #999828
analogous
#286199 #282999 #5F2899
triadic
#282999 #992829 #299928
tetradic
#282999 #992861 #999828 #28995F
square
#282999 #992861 #999828 #28995F
split-complementary
#282999 #995F28 #619928
monochromatic
#0F0F38 #1B1C68 #282999 #3536CA #6566D7

Accessibility & contrast

On white

11.25
#282999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#282999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282999
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282999#FFFFFF#000000##FFFFFF
##2829991.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282999;
/* rgb */ color: rgb(40, 41, 153);
/* oklch */ color: oklch(36.7% 0.176 273.2);
Tailwind
colors: {
  custom: {
    50: '#7464b8',
    500: '#282999',
    950: '#000000',
  },
}
SCSS
$custom: #282999;
$custom-light: #7464b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282999",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 239.469,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.17588,
    "h": 273.2
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#282999
secondary
#BDBC60
accent
#E046E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #282999

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

Preview Lab → · Contrast checker → · Palette generator →

#282999 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva