#282A92#282A92

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

Color values

HEX#282A92
RGBrgb(40, 42, 146)
HSLhsl(239, 57%, 36%)
HSVhsv(239, 73%, 57%)
CMYKcmyk(72.6%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.26, 34.93, -57.20)
CIE-LCHlch(24.26, 67.02, 301.41°)
OKLaboklab(36.17% 0.0103 -0.1654)
OKLCHoklch(36.17% 0.166 273.5)
XYZxyz(6.8896, 4.1817, 27.6326)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A92 #929028
analogous
#285F92 #282A92 #5B2892
triadic
#282A92 #92282A #2A9228
tetradic
#282A92 #92285F #929028 #28925B
square
#282A92 #92285F #929028 #28925B
split-complementary
#282A92 #925B28 #5F9228
monochromatic
#0E0E32 #1B1C62 #282A92 #3538C2 #6163D4

Accessibility & contrast

On white

11.44
#282A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A92
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A92#FFFFFF#000000##FFFFFF
##282A921.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282a92;
/* rgb */ color: rgb(40, 42, 146);
/* oklch */ color: oklch(36.2% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#7264b3',
    500: '#282a92',
    950: '#000000',
  },
}
SCSS
$custom: #282a92;
$custom-light: #7264b3;
$custom-dark: #000000;
JSON
{
  "hex": "#282a92",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 238.868,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36167,
    "c": 0.16572,
    "h": 273.5
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282A92

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

Preview Lab → · Contrast checker → · Palette generator →

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