#282094#282094

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

Color values

HEX#282094
RGBrgb(40, 32, 148)
HSLhsl(244, 64%, 35%)
HSVhsv(244, 78%, 58%)
CMYKcmyk(73%, 78.4%, 0%, 42%)
CIE-LABlab(22.38, 41.48, -61.55)
CIE-LCHlch(22.38, 74.22, 303.98°)
OKLaboklab(34.89% 0.0154 -0.178)
OKLCHoklch(34.89% 0.179 274.9)
XYZxyz(6.7351, 3.6216, 28.3553)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282094 #8C9420
analogous
#205294 #282094 #622094
triadic
#282094 #942820 #209428
tetradic
#282094 #942052 #8C9420 #209462
square
#282094 #942052 #8C9420 #209462
split-complementary
#282094 #946220 #529420
monochromatic
#0D0A2F #1A1562 #282094 #362BC6 #5E54DA

Accessibility & contrast

On white

12.18
#282094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282094
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282094#FFFFFF#000000##FFFFFF
##2820941.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282094;
/* rgb */ color: rgb(40, 32, 148);
/* oklch */ color: oklch(34.9% 0.179 274.9);
Tailwind
colors: {
  custom: {
    50: '#745eb5',
    500: '#282094',
    950: '#000000',
  },
}
SCSS
$custom: #282094;
$custom-light: #745eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#282094",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 244.138,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3489,
    "c": 0.17865,
    "h": 274.9
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#282094
secondary
#B6BE52
accent
#E740DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #282094

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

Preview Lab → · Contrast checker → · Palette generator →

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