#282199#282199

#282199 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.184 H 274.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#282199
RGBrgb(40, 33, 153)
HSLhsl(244, 65%, 36%)
HSVhsv(244, 78%, 60%)
CMYKcmyk(73.9%, 78.4%, 0%, 40%)
CIE-LABlab(23.13, 42.58, -63.39)
CIE-LCHlch(23.13, 76.36, 303.89°)
OKLaboklab(35.58% 0.0137 -0.1834)
OKLCHoklch(35.58% 0.184 274.3)
XYZxyz(7.1668, 3.8380, 30.4939)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282199 #929921
analogous
#215699 #282199 #642199
triadic
#282199 #992821 #219928
tetradic
#282199 #992156 #929921 #219964
square
#282199 #992156 #929921 #219964
split-complementary
#282199 #996421 #569921
monochromatic
#0E0B34 #1B1667 #282199 #352CCB #6159DB

Accessibility & contrast

On white

11.88
#282199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#282199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282199
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282199#FFFFFF#000000##FFFFFF
##2821991.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282199;
/* rgb */ color: rgb(40, 33, 153);
/* oklch */ color: oklch(35.6% 0.184 274.3);
Tailwind
colors: {
  custom: {
    50: '#755fb8',
    500: '#282199',
    950: '#000000',
  },
}
SCSS
$custom: #282199;
$custom-light: #755fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#282199",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 243.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35582,
    "c": 0.18386,
    "h": 274.3
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#282199
secondary
#B9BF56
accent
#E840DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #282199

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

Preview Lab → · Contrast checker → · Palette generator →

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