#282891#282891

#282891 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.167 H 274.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#282891
RGBrgb(40, 40, 145)
HSLhsl(240, 57%, 36%)
HSVhsv(240, 72%, 57%)
CMYKcmyk(72.4%, 72.4%, 0%, 43.1%)
CIE-LABlab(23.71, 35.81, -57.49)
CIE-LCHlch(23.71, 67.73, 301.92°)
OKLaboklab(35.74% 0.0116 -0.1662)
OKLCHoklch(35.74% 0.167 274)
XYZxyz(6.7430, 4.0124, 27.2017)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282891 #919128
analogous
#285D91 #282891 #5D2891
triadic
#282891 #912828 #289128
tetradic
#282891 #91285D #919128 #28915D
square
#282891 #91285D #919128 #28915D
split-complementary
#282891 #915D28 #5D9128
monochromatic
#0E0E31 #1B1B61 #282891 #3535C1 #6060D3

Accessibility & contrast

On white

11.65
#282891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282891
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282891#FFFFFF#000000##FFFFFF
##2828911.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282891;
/* rgb */ color: rgb(40, 40, 145);
/* oklch */ color: oklch(35.7% 0.167 274.0);
Tailwind
colors: {
  custom: {
    50: '#7263b2',
    500: '#282891',
    950: '#000000',
  },
}
SCSS
$custom: #282891;
$custom-light: #7263b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282891",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 240,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35741,
    "c": 0.16665,
    "h": 274
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#282891
secondary
#B9B95C
accent
#E048E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282891

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

Preview Lab → · Contrast checker → · Palette generator →

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