#282991#282991

#282991 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.166 H 273.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#282991
RGBrgb(40, 41, 145)
HSLhsl(239, 57%, 36%)
HSVhsv(239, 72%, 57%)
CMYKcmyk(72.4%, 71.7%, 0%, 43.1%)
CIE-LABlab(23.94, 35.19, -57.12)
CIE-LCHlch(23.94, 67.10, 301.64°)
OKLaboklab(35.9% 0.011 -0.1652)
OKLCHoklch(35.9% 0.166 273.8)
XYZxyz(6.7771, 4.0807, 27.2131)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282991 #919028
analogous
#285E91 #282991 #5C2891
triadic
#282991 #912829 #299128
tetradic
#282991 #91285E #919028 #28915C
square
#282991 #91285E #919028 #28915C
split-complementary
#282991 #915C28 #5E9128
monochromatic
#0E0E31 #1B1B61 #282991 #3537C1 #6061D3

Accessibility & contrast

On white

11.56
#282991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#282991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282991
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282991#FFFFFF#000000##FFFFFF
##2829911.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282991;
/* rgb */ color: rgb(40, 41, 145);
/* oklch */ color: oklch(35.9% 0.166 273.8);
Tailwind
colors: {
  custom: {
    50: '#7263b2',
    500: '#282991',
    950: '#000000',
  },
}
SCSS
$custom: #282991;
$custom-light: #7263b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282991",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 239.429,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35902,
    "c": 0.16553,
    "h": 273.8
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#282991
secondary
#B9B85C
accent
#DF48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282991

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

Preview Lab → · Contrast checker → · Palette generator →

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