#282C86#282C86

#282C86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.147 H 274.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#282C86
RGBrgb(40, 44, 134)
HSLhsl(237, 54%, 34%)
HSVhsv(237, 70%, 53%)
CMYKcmyk(70.1%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.58, 29.33, -50.86)
CIE-LCHlch(23.58, 58.71, 299.97°)
OKLaboklab(35.32% 0.0103 -0.1468)
OKLCHoklch(35.32% 0.147 274)
XYZxyz(6.0774, 3.9731, 22.9963)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C86 #868228
analogous
#285B86 #282C86 #532886
triadic
#282C86 #86282C #2C8628
tetradic
#282C86 #86285B #868228 #288653
square
#282C86 #86285B #868228 #288653
split-complementary
#282C86 #865328 #5B8628
monochromatic
#0C0D28 #1A1D57 #282C86 #363BB5 #5B5FCE

Accessibility & contrast

On white

11.70
#282C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#282C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C86
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C86#FFFFFF#000000##FFFFFF
##282C861.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282c86;
/* rgb */ color: rgb(40, 44, 134);
/* oklch */ color: oklch(35.3% 0.147 274.0);
Tailwind
colors: {
  custom: {
    50: '#6f65aa',
    500: '#282c86',
    950: '#000000',
  },
}
SCSS
$custom: #282c86;
$custom-light: #6f65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#282c86",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 237.447,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.14719,
    "h": 274
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#282C86
secondary
#B3AF57
accent
#D74ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #282C86

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

Preview Lab → · Contrast checker → · Palette generator →

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