#282B96#282B96

#282B96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.170 H 273.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#282B96
RGBrgb(40, 43, 150)
HSLhsl(238, 58%, 37%)
HSVhsv(238, 73%, 59%)
CMYKcmyk(73.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(24.89, 35.72, -58.64)
CIE-LCHlch(24.89, 68.66, 301.35°)
OKLaboklab(36.74% 0.0091 -0.1696)
OKLCHoklch(36.74% 0.17 273.1)
XYZxyz(7.2421, 4.3802, 29.3120)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B96 #969328
analogous
#286296 #282B96 #5C2896
triadic
#282B96 #96282B #2B9628
tetradic
#282B96 #962862 #969328 #28965C
square
#282B96 #962862 #969328 #28965C
split-complementary
#282B96 #965C28 #629628
monochromatic
#0E0F35 #1B1D66 #282B96 #3539C6 #6366D5

Accessibility & contrast

On white

11.19
#282B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#282B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B96
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B96#FFFFFF#000000##FFFFFF
##282B961.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282b96;
/* rgb */ color: rgb(40, 43, 150);
/* oklch */ color: oklch(36.7% 0.170 273.1);
Tailwind
colors: {
  custom: {
    50: '#7365b6',
    500: '#282b96',
    950: '#000000',
  },
}
SCSS
$custom: #282b96;
$custom-light: #7365b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282b96",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 238.364,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36739,
    "c": 0.16982,
    "h": 273.1
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#282B96
secondary
#BBB95F
accent
#DD47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B96

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

Preview Lab → · Contrast checker → · Palette generator →

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