#282A93#282A93

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

Color values

HEX#282A93
RGBrgb(40, 42, 147)
HSLhsl(239, 57%, 37%)
HSVhsv(239, 73%, 58%)
CMYKcmyk(72.8%, 71.4%, 0%, 42.4%)
CIE-LABlab(24.36, 35.28, -57.66)
CIE-LCHlch(24.36, 67.60, 301.46°)
OKLaboklab(36.27% 0.0101 -0.1667)
OKLCHoklch(36.27% 0.167 273.5)
XYZxyz(6.9677, 4.2129, 28.0441)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A93 #939128
analogous
#285F93 #282A93 #5C2893
triadic
#282A93 #93282A #2A9328
tetradic
#282A93 #93285F #939128 #28935C
square
#282A93 #93285F #939128 #28935C
split-complementary
#282A93 #935C28 #5F9328
monochromatic
#0E0F33 #1B1C63 #282A93 #3538C3 #6163D4

Accessibility & contrast

On white

11.40
#282A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A93
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A93#FFFFFF#000000##FFFFFF
##282A931.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.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: #282a93;
/* rgb */ color: rgb(40, 42, 147);
/* oklch */ color: oklch(36.3% 0.167 273.5);
Tailwind
colors: {
  custom: {
    50: '#7364b4',
    500: '#282a93',
    950: '#000000',
  },
}
SCSS
$custom: #282a93;
$custom-light: #7364b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282a93",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 238.879,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3627,
    "c": 0.16703,
    "h": 273.5
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#282A93
secondary
#BAB85D
accent
#DE47E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282A93

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

Preview Lab → · Contrast checker → · Palette generator →

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