#282A91#282A91

#282A91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.164 H 273.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#282A91
RGBrgb(40, 42, 145)
HSLhsl(239, 57%, 36%)
HSVhsv(239, 72%, 57%)
CMYKcmyk(72.4%, 71%, 0%, 43.1%)
CIE-LABlab(24.16, 34.57, -56.75)
CIE-LCHlch(24.16, 66.45, 301.35°)
OKLaboklab(36.07% 0.0104 -0.1641)
OKLCHoklch(36.07% 0.164 273.6)
XYZxyz(6.8122, 4.1507, 27.2247)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A91 #918F28
analogous
#285F91 #282A91 #5B2891
triadic
#282A91 #91282A #2A9128
tetradic
#282A91 #91285F #918F28 #28915B
square
#282A91 #91285F #918F28 #28915B
split-complementary
#282A91 #915B28 #5F9128
monochromatic
#0E0E31 #1B1C61 #282A91 #3538C1 #6062D3

Accessibility & contrast

On white

11.47
#282A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A91
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A91#FFFFFF#000000##FFFFFF
##282A911.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282a91;
/* rgb */ color: rgb(40, 42, 145);
/* oklch */ color: oklch(36.1% 0.164 273.6);
Tailwind
colors: {
  custom: {
    50: '#7264b2',
    500: '#282a91',
    950: '#000000',
  },
}
SCSS
$custom: #282a91;
$custom-light: #7264b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282a91",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 238.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.1644,
    "h": 273.6
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#282A91
secondary
#B9B75C
accent
#DD48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282A91

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

Preview Lab → · Contrast checker → · Palette generator →

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