#282993#282993

#282993 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.168 H 273.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#282993
RGBrgb(40, 41, 147)
HSLhsl(239, 57%, 37%)
HSVhsv(239, 73%, 58%)
CMYKcmyk(72.8%, 72.1%, 0%, 42.4%)
CIE-LABlab(24.14, 35.90, -58.03)
CIE-LCHlch(24.14, 68.23, 301.74°)
OKLaboklab(36.11% 0.0107 -0.1678)
OKLCHoklch(36.11% 0.168 273.7)
XYZxyz(6.9327, 4.1429, 28.0324)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282993 #939228
analogous
#285F93 #282993 #5D2893
triadic
#282993 #932829 #299328
tetradic
#282993 #93285F #939228 #28935D
square
#282993 #93285F #939228 #28935D
split-complementary
#282993 #935D28 #5F9328
monochromatic
#0E0E33 #1B1C63 #282993 #3536C3 #6162D4

Accessibility & contrast

On white

11.48
#282993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282993
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282993#FFFFFF#000000##FFFFFF
##2829931.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282993;
/* rgb */ color: rgb(40, 41, 147);
/* oklch */ color: oklch(36.1% 0.168 273.7);
Tailwind
colors: {
  custom: {
    50: '#7364b4',
    500: '#282993',
    950: '#000000',
  },
}
SCSS
$custom: #282993;
$custom-light: #7364b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282993",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 239.439,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36108,
    "c": 0.16814,
    "h": 273.7
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#282993
secondary
#BAB95D
accent
#DF47E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282993

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

Preview Lab → · Contrast checker → · Palette generator →

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