#282B93#282B93

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

Color values

HEX#282B93
RGBrgb(40, 43, 147)
HSLhsl(238, 57%, 37%)
HSVhsv(238, 73%, 58%)
CMYKcmyk(72.8%, 70.7%, 0%, 42.4%)
CIE-LABlab(24.59, 34.66, -57.28)
CIE-LCHlch(24.59, 66.95, 301.17°)
OKLaboklab(36.43% 0.0095 -0.1656)
OKLCHoklch(36.43% 0.166 273.3)
XYZxyz(7.0036, 4.2848, 28.0560)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B93 #939028
analogous
#286193 #282B93 #5B2893
triadic
#282B93 #93282B #2B9328
tetradic
#282B93 #932861 #939028 #28935B
square
#282B93 #932861 #939028 #28935B
split-complementary
#282B93 #935B28 #619328
monochromatic
#0E0F33 #1B1D63 #282B93 #3539C3 #6165D4

Accessibility & contrast

On white

11.31
#282B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B93
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B93#FFFFFF#000000##FFFFFF
##282B931.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282b93;
/* rgb */ color: rgb(40, 43, 147);
/* oklch */ color: oklch(36.4% 0.166 273.3);
Tailwind
colors: {
  custom: {
    50: '#7365b4',
    500: '#282b93',
    950: '#000000',
  },
}
SCSS
$custom: #282b93;
$custom-light: #7365b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282b93",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 238.318,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36434,
    "c": 0.16589,
    "h": 273.3
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#282B93
secondary
#BAB75D
accent
#DC47E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B93

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

Preview Lab → · Contrast checker → · Palette generator →

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