#282499#282499

#282499 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.181 H 273.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#282499
RGBrgb(40, 36, 153)
HSLhsl(242, 62%, 37%)
HSVhsv(242, 76%, 60%)
CMYKcmyk(73.9%, 76.5%, 0%, 40%)
CIE-LABlab(23.71, 40.92, -62.43)
CIE-LCHlch(23.71, 74.64, 303.24°)
OKLaboklab(35.99% 0.0123 -0.1806)
OKLCHoklch(35.99% 0.181 273.9)
XYZxyz(7.2538, 4.0121, 30.5229)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282499 #959924
analogous
#245B99 #282499 #622499
triadic
#282499 #992824 #249928
tetradic
#282499 #99245B #959924 #249962
square
#282499 #99245B #959924 #249962
split-complementary
#282499 #996224 #5B9924
monochromatic
#0E0D36 #1B1867 #282499 #3530CB #625ED9

Accessibility & contrast

On white

11.65
#282499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282499
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282499#FFFFFF#000000##FFFFFF
##2824991.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282499;
/* rgb */ color: rgb(40, 36, 153);
/* oklch */ color: oklch(36.0% 0.181 273.9);
Tailwind
colors: {
  custom: {
    50: '#7561b8',
    500: '#282499',
    950: '#000000',
  },
}
SCSS
$custom: #282499;
$custom-light: #7561b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282499",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 242.051,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35993,
    "c": 0.18101,
    "h": 273.9
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#282499
secondary
#BBBE5B
accent
#E543DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #282499

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

Preview Lab → · Contrast checker → · Palette generator →

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