#282E84#282E84

#282E84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.142 H 273.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#282E84
RGBrgb(40, 46, 132)
HSLhsl(236, 53%, 34%)
HSVhsv(236, 70%, 52%)
CMYKcmyk(69.7%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.90, 27.26, -49.08)
CIE-LCHlch(23.90, 56.14, 299.05°)
OKLaboklab(35.5% 0.0089 -0.1416)
OKLCHoklch(35.5% 0.142 273.6)
XYZxyz(6.0155, 4.0705, 22.2940)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E84 #847E28
analogous
#285C84 #282E84 #502884
triadic
#282E84 #84282E #2E8428
tetradic
#282E84 #84285C #847E28 #288450
square
#282E84 #84285C #847E28 #288450
split-complementary
#282E84 #845028 #5C8428
monochromatic
#0C0D26 #1A1E55 #282E84 #363EB3 #5A61CD

Accessibility & contrast

On white

11.58
#282E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E84
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E84#FFFFFF#000000##FFFFFF
##282E841.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282e84;
/* rgb */ color: rgb(40, 46, 132);
/* oklch */ color: oklch(35.5% 0.142 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f67a9',
    500: '#282e84',
    950: '#000000',
  },
}
SCSS
$custom: #282e84;
$custom-light: #6f67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282e84",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 236.087,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.355,
    "c": 0.14189,
    "h": 273.6
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#282E84
secondary
#B2AC56
accent
#D34BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282E84

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

Preview Lab → · Contrast checker → · Palette generator →

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