#282C91#282C91

#282C91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.162 H 273.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#282C91
RGBrgb(40, 44, 145)
HSLhsl(238, 57%, 36%)
HSVhsv(238, 72%, 57%)
CMYKcmyk(72.4%, 69.7%, 0%, 43.1%)
CIE-LABlab(24.63, 33.31, -55.99)
CIE-LCHlch(24.63, 65.15, 300.75°)
OKLaboklab(36.4% 0.0091 -0.1618)
OKLCHoklch(36.4% 0.162 273.2)
XYZxyz(6.8849, 4.2961, 27.2490)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C91 #918D28
analogous
#286191 #282C91 #592891
triadic
#282C91 #91282C #2C9128
tetradic
#282C91 #912861 #918D28 #289159
square
#282C91 #912861 #918D28 #289159
split-complementary
#282C91 #915928 #619128
monochromatic
#0E0F31 #1B1D61 #282C91 #353BC1 #6065D3

Accessibility & contrast

On white

11.29
#282C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#282C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C91
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C91#FFFFFF#000000##FFFFFF
##282C911.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282c91;
/* rgb */ color: rgb(40, 44, 145);
/* oklch */ color: oklch(36.4% 0.162 273.2);
Tailwind
colors: {
  custom: {
    50: '#7265b2',
    500: '#282c91',
    950: '#000000',
  },
}
SCSS
$custom: #282c91;
$custom-light: #7265b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282c91",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 237.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.364,
    "c": 0.1621,
    "h": 273.2
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#282C91
secondary
#B9B55C
accent
#DA48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282C91

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

Preview Lab → · Contrast checker → · Palette generator →

#282C91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva