#282093#282093

#282093 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.177 H 275.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#282093
RGBrgb(40, 32, 147)
HSLhsl(244, 64%, 35%)
HSVhsv(244, 78%, 58%)
CMYKcmyk(72.8%, 78.2%, 0%, 42.4%)
CIE-LABlab(22.27, 41.15, -61.11)
CIE-LCHlch(22.27, 73.68, 303.95°)
OKLaboklab(34.78% 0.0156 -0.1767)
OKLCHoklch(34.78% 0.177 275)
XYZxyz(6.6563, 3.5901, 27.9403)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282093 #8B9320
analogous
#205193 #282093 #622093
triadic
#282093 #932820 #209328
tetradic
#282093 #932051 #8B9320 #209362
square
#282093 #932051 #8B9320 #209362
split-complementary
#282093 #936220 #519320
monochromatic
#0D0A2E #1A1561 #282093 #362BC5 #5D54DA

Accessibility & contrast

On white

12.22
#282093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282093
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282093#FFFFFF#000000##FFFFFF
##2820931.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282093;
/* rgb */ color: rgb(40, 32, 147);
/* oklch */ color: oklch(34.8% 0.177 275.0);
Tailwind
colors: {
  custom: {
    50: '#745eb4',
    500: '#282093',
    950: '#000000',
  },
}
SCSS
$custom: #282093;
$custom-light: #745eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#282093",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 244.174,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.17742,
    "h": 275
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#282093
secondary
#B6BD52
accent
#E741DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #282093

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

Preview Lab → · Contrast checker → · Palette generator →

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