#282292#282292

#282292 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.174 H 274.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#282292
RGBrgb(40, 34, 146)
HSLhsl(243, 62%, 35%)
HSVhsv(243, 77%, 57%)
CMYKcmyk(72.6%, 76.7%, 0%, 42.7%)
CIE-LABlab(22.55, 39.70, -60.03)
CIE-LCHlch(22.55, 71.97, 303.48°)
OKLaboklab(34.95% 0.0148 -0.1736)
OKLCHoklch(34.95% 0.174 274.9)
XYZxyz(6.6337, 3.6699, 27.5473)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282292 #8C9222
analogous
#225492 #282292 #602292
triadic
#282292 #922822 #229228
tetradic
#282292 #922254 #8C9222 #229260
square
#282292 #922254 #8C9222 #229260
split-complementary
#282292 #926022 #549222
monochromatic
#0D0B2F #1A1660 #282292 #362EC4 #5E57D8

Accessibility & contrast

On white

12.11
#282292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#282292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282292
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282292#FFFFFF#000000##FFFFFF
##2822921.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282292;
/* rgb */ color: rgb(40, 34, 146);
/* oklch */ color: oklch(34.9% 0.174 274.9);
Tailwind
colors: {
  custom: {
    50: '#735fb3',
    500: '#282292',
    950: '#000000',
  },
}
SCSS
$custom: #282292;
$custom-light: #735fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#282292",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 243.214,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34945,
    "c": 0.17423,
    "h": 274.9
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#282292
secondary
#B6BC54
accent
#E543DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282292

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

Preview Lab → · Contrast checker → · Palette generator →

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