#282091#282091

#282091 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.175 H 275.3°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#282091
RGBrgb(40, 32, 145)
HSLhsl(244, 64%, 35%)
HSVhsv(244, 78%, 57%)
CMYKcmyk(72.4%, 77.9%, 0%, 43.1%)
CIE-LABlab(22.04, 40.49, -60.24)
CIE-LCHlch(22.04, 72.59, 303.91°)
OKLaboklab(34.56% 0.0161 -0.1742)
OKLCHoklch(34.56% 0.175 275.3)
XYZxyz(6.5007, 3.5279, 27.1209)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282091 #899120
analogous
#205091 #282091 #612091
triadic
#282091 #912820 #209128
tetradic
#282091 #912050 #899120 #209161
square
#282091 #912050 #899120 #209161
split-complementary
#282091 #916120 #509120
monochromatic
#0C0A2D #1A155F #282091 #362BC3 #5C52D9

Accessibility & contrast

On white

12.31
#282091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#282091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282091
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282091#FFFFFF#000000##FFFFFF
##2820911.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00308F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282091;
/* rgb */ color: rgb(40, 32, 145);
/* oklch */ color: oklch(34.6% 0.175 275.3);
Tailwind
colors: {
  custom: {
    50: '#735eb2',
    500: '#282091',
    950: '#000000',
  },
}
SCSS
$custom: #282091;
$custom-light: #735eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#282091",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 244.248,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34557,
    "c": 0.17494,
    "h": 275.3
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#282091
secondary
#B5BC51
accent
#E741DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #282091

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

Preview Lab → · Contrast checker → · Palette generator →

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