#282799#282799

#282799 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.178 H 273.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#282799
RGBrgb(40, 39, 153)
HSLhsl(241, 59%, 38%)
HSVhsv(241, 75%, 60%)
CMYKcmyk(73.9%, 74.5%, 0%, 40%)
CIE-LABlab(24.33, 39.18, -61.41)
CIE-LCHlch(24.33, 72.85, 302.54°)
OKLaboklab(36.43% 0.0108 -0.1776)
OKLCHoklch(36.43% 0.178 273.5)
XYZxyz(7.3484, 4.2013, 30.5545)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282799 #989927
analogous
#275F99 #282799 #612799
triadic
#282799 #992827 #279928
tetradic
#282799 #99275F #989927 #279961
square
#282799 #99275F #989927 #279961
split-complementary
#282799 #996127 #5F9927
monochromatic
#0E0E37 #1B1B68 #282799 #3533CA #6463D7

Accessibility & contrast

On white

11.41
#282799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282799
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282799#FFFFFF#000000##FFFFFF
##2827991.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282799;
/* rgb */ color: rgb(40, 39, 153);
/* oklch */ color: oklch(36.4% 0.178 273.5);
Tailwind
colors: {
  custom: {
    50: '#7462b8',
    500: '#282799',
    950: '#000000',
  },
}
SCSS
$custom: #282799;
$custom-light: #7462b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282799",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 240.526,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.17798,
    "h": 273.5
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#282799
secondary
#BCBD5F
accent
#E345E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #282799

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

Preview Lab → · Contrast checker → · Palette generator →

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