#282E8E#282E8E

#282E8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.156 H 273.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#282E8E
RGBrgb(40, 46, 142)
HSLhsl(236, 56%, 36%)
HSVhsv(236, 72%, 56%)
CMYKcmyk(71.8%, 67.6%, 0%, 44.3%)
CIE-LABlab(24.82, 30.94, -53.82)
CIE-LCHlch(24.82, 62.07, 299.89°)
OKLaboklab(36.45% 0.0081 -0.1555)
OKLCHoklch(36.45% 0.156 273)
XYZxyz(6.7329, 4.3574, 26.0722)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E8E #8E8828
analogous
#28618E #282E8E #55288E
triadic
#282E8E #8E282E #2E8E28
tetradic
#282E8E #8E2861 #8E8828 #288E55
square
#282E8E #8E2861 #8E8828 #288E55
split-complementary
#282E8E #8E5528 #618E28
monochromatic
#0D0F2F #1B1F5E #282E8E #353DBE #5F65D2

Accessibility & contrast

On white

11.22
#282E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#282E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E8E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E8E#FFFFFF#000000##FFFFFF
##282E8E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282e8e;
/* rgb */ color: rgb(40, 46, 142);
/* oklch */ color: oklch(36.5% 0.156 273.0);
Tailwind
colors: {
  custom: {
    50: '#7167b0',
    500: '#282e8e',
    950: '#000000',
  },
}
SCSS
$custom: #282e8e;
$custom-light: #7167b0;
$custom-dark: #000000;
JSON
{
  "hex": "#282e8e",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 236.471,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36452,
    "c": 0.15569,
    "h": 273
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#282E8E
secondary
#B7B25B
accent
#D648DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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