#282973#282973

#282973 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.124 H 276.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#282973
RGBrgb(40, 41, 115)
HSLhsl(239, 48%, 30%)
HSVhsv(239, 65%, 45%)
CMYKcmyk(65.2%, 64.3%, 0%, 54.9%)
CIE-LABlab(21.11, 24.36, -42.85)
CIE-LCHlch(21.11, 49.29, 299.62°)
OKLaboklab(32.98% 0.0142 -0.1234)
OKLCHoklch(32.98% 0.124 276.6)
XYZxyz(4.7615, 3.2744, 16.5974)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282973 #737228
analogous
#284E73 #282973 #4C2873
triadic
#282973 #732829 #297328
tetradic
#282973 #73284E #737228 #28734C
square
#282973 #73284E #737228 #28734C
split-complementary
#282973 #734C28 #4E7328
monochromatic
#080918 #181946 #282973 #3839A0 #5254C3

Accessibility & contrast

On white

12.69
#282973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282973
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282973#FFFFFF#000000##FFFFFF
##2829731.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282973;
/* rgb */ color: rgb(40, 41, 115);
/* oklch */ color: oklch(33.0% 0.124 276.6);
Tailwind
colors: {
  custom: {
    50: '#6b639c',
    500: '#282973',
    950: '#000000',
  },
}
SCSS
$custom: #282973;
$custom-light: #6b639c;
$custom-dark: #000000;
JSON
{
  "hex": "#282973",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 239.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32983,
    "c": 0.12418,
    "h": 276.6
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#282973
secondary
#A5A452
accent
#D650D8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282973

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

Preview Lab → · Contrast checker → · Palette generator →

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