#282099#282099

#282099 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.185 H 274.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#282099
RGBrgb(40, 32, 153)
HSLhsl(244, 65%, 36%)
HSVhsv(244, 79%, 60%)
CMYKcmyk(73.9%, 79.1%, 0%, 40%)
CIE-LABlab(22.94, 43.11, -63.70)
CIE-LCHlch(22.94, 76.92, 304.09°)
OKLaboklab(35.45% 0.0142 -0.1842)
OKLCHoklch(35.45% 0.185 274.4)
XYZxyz(7.1394, 3.7833, 30.4848)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282099 #919920
analogous
#205599 #282099 #652099
triadic
#282099 #992820 #209928
tetradic
#282099 #992055 #919920 #209965
square
#282099 #992055 #919920 #209965
split-complementary
#282099 #996520 #559920
monochromatic
#0E0B34 #1B1566 #282099 #352BCC #6057DC

Accessibility & contrast

On white

11.95
#282099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282099
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282099#FFFFFF#000000##FFFFFF
##2820991.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282099;
/* rgb */ color: rgb(40, 32, 153);
/* oklch */ color: oklch(35.5% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#755eb8',
    500: '#282099',
    950: '#000000',
  },
}
SCSS
$custom: #282099;
$custom-light: #755eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#282099",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 243.967,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.18478,
    "h": 274.4
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#282099
secondary
#B9C055
accent
#E83FDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #282099

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

Preview Lab → · Contrast checker → · Palette generator →

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