#282399#282399

#282399 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.182 H 274.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#282399
RGBrgb(40, 35, 153)
HSLhsl(243, 63%, 37%)
HSVhsv(243, 77%, 60%)
CMYKcmyk(73.9%, 77.1%, 0%, 40%)
CIE-LABlab(23.51, 41.48, -62.75)
CIE-LCHlch(23.51, 75.22, 303.46°)
OKLaboklab(35.85% 0.0128 -0.1815)
OKLCHoklch(35.85% 0.182 274)
XYZxyz(7.2240, 3.9524, 30.5130)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282399 #949923
analogous
#235999 #282399 #632399
triadic
#282399 #992823 #239928
tetradic
#282399 #992359 #949923 #239963
square
#282399 #992359 #949923 #239963
split-complementary
#282399 #996323 #599923
monochromatic
#0E0C35 #1B1867 #282399 #352ECB #625DDA

Accessibility & contrast

On white

11.73
#282399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#282399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282399
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282399#FFFFFF#000000##FFFFFF
##2823991.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282399;
/* rgb */ color: rgb(40, 35, 153);
/* oklch */ color: oklch(35.9% 0.182 274.0);
Tailwind
colors: {
  custom: {
    50: '#7560b8',
    500: '#282399',
    950: '#000000',
  },
}
SCSS
$custom: #282399;
$custom-light: #7560b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282399",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 242.542,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35853,
    "c": 0.18198,
    "h": 274
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#282399
secondary
#BABE59
accent
#E642DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #282399

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

Preview Lab → · Contrast checker → · Palette generator →

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