#282E86#282E86

#282E86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.145 H 273.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#282E86
RGBrgb(40, 46, 134)
HSLhsl(236, 54%, 34%)
HSVhsv(236, 70%, 53%)
CMYKcmyk(70.1%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.08, 28.00, -50.04)
CIE-LCHlch(24.08, 57.34, 299.23°)
OKLaboklab(35.69% 0.0087 -0.1444)
OKLCHoklch(35.69% 0.145 273.5)
XYZxyz(6.1537, 4.1258, 23.0217)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E86 #868028
analogous
#285D86 #282E86 #512886
triadic
#282E86 #86282E #2E8628
tetradic
#282E86 #86285D #868028 #288651
square
#282E86 #86285D #868028 #288651
split-complementary
#282E86 #865128 #5D8628
monochromatic
#0C0E28 #1A1E57 #282E86 #363EB5 #5B62CE

Accessibility & contrast

On white

11.51
#282E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E86
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E86#FFFFFF#000000##FFFFFF
##282E861.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282e86;
/* rgb */ color: rgb(40, 46, 134);
/* oklch */ color: oklch(35.7% 0.145 273.5);
Tailwind
colors: {
  custom: {
    50: '#6f67aa',
    500: '#282e86',
    950: '#000000',
  },
}
SCSS
$custom: #282e86;
$custom-light: #6f67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#282e86",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 236.17,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35687,
    "c": 0.14468,
    "h": 273.5
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#282E86
secondary
#B3AD57
accent
#D44ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282E86

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

Preview Lab → · Contrast checker → · Palette generator →

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