#282492#282492

#282492 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.172 H 274.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#282492
RGBrgb(40, 36, 146)
HSLhsl(242, 60%, 36%)
HSVhsv(242, 75%, 57%)
CMYKcmyk(72.6%, 75.3%, 0%, 42.7%)
CIE-LABlab(22.96, 38.55, -59.36)
CIE-LCHlch(22.96, 70.78, 303.00°)
OKLaboklab(35.23% 0.0138 -0.1716)
OKLCHoklch(35.23% 0.172 274.6)
XYZxyz(6.6925, 3.7875, 27.5669)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282492 #8E9224
analogous
#245792 #282492 #5F2492
triadic
#282492 #922824 #249228
tetradic
#282492 #922457 #8E9224 #24925F
square
#282492 #922457 #8E9224 #24925F
split-complementary
#282492 #925F24 #579224
monochromatic
#0D0C30 #1B1861 #282492 #3530C3 #5F5AD6

Accessibility & contrast

On white

11.95
#282492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282492
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282492#FFFFFF#000000##FFFFFF
##2824921.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282492;
/* rgb */ color: rgb(40, 36, 146);
/* oklch */ color: oklch(35.2% 0.172 274.6);
Tailwind
colors: {
  custom: {
    50: '#7360b3',
    500: '#282492',
    950: '#000000',
  },
}
SCSS
$custom: #282492;
$custom-light: #7360b3;
$custom-dark: #000000;
JSON
{
  "hex": "#282492",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 242.182,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35233,
    "c": 0.1722,
    "h": 274.6
  },
  "luminance": 0.03788
}

Semantic roles & 50–950 ramp

primary
#282492
secondary
#B7BB57
accent
#E444DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282492

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

Preview Lab → · Contrast checker → · Palette generator →

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