#282B91#282B91

#282B91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.163 H 273.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#282B91
RGBrgb(40, 43, 145)
HSLhsl(238, 57%, 36%)
HSVhsv(238, 72%, 57%)
CMYKcmyk(72.4%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.39, 33.95, -56.37)
CIE-LCHlch(24.39, 65.80, 301.05°)
OKLaboklab(36.23% 0.0098 -0.163)
OKLCHoklch(36.23% 0.163 273.4)
XYZxyz(6.8481, 4.2225, 27.2367)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B91 #918E28
analogous
#286091 #282B91 #5A2891
triadic
#282B91 #91282B #2B9128
tetradic
#282B91 #912860 #918E28 #28915A
square
#282B91 #912860 #918E28 #28915A
split-complementary
#282B91 #915A28 #609128
monochromatic
#0E0F31 #1B1D61 #282B91 #3539C1 #6063D3

Accessibility & contrast

On white

11.38
#282B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B91
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B91#FFFFFF#000000##FFFFFF
##282B911.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282b91;
/* rgb */ color: rgb(40, 43, 145);
/* oklch */ color: oklch(36.2% 0.163 273.4);
Tailwind
colors: {
  custom: {
    50: '#7265b2',
    500: '#282b91',
    950: '#000000',
  },
}
SCSS
$custom: #282b91;
$custom-light: #7265b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282b91",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 238.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.16325,
    "h": 273.4
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#282B91
secondary
#B9B65C
accent
#DC48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B91

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

Preview Lab → · Contrast checker → · Palette generator →

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