#282E8D#282E8D

#282E8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.154 H 273.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#282E8D
RGBrgb(40, 46, 141)
HSLhsl(236, 56%, 35%)
HSVhsv(236, 72%, 55%)
CMYKcmyk(71.6%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.73, 30.57, -53.35)
CIE-LCHlch(24.73, 61.49, 299.81°)
OKLaboklab(36.35% 0.0082 -0.1541)
OKLCHoklch(36.35% 0.154 273)
XYZxyz(6.6582, 4.3276, 25.6786)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E8D #8D8728
analogous
#28608D #282E8D #55288D
triadic
#282E8D #8D282E #2E8D28
tetradic
#282E8D #8D2860 #8D8728 #288D55
square
#282E8D #8D2860 #8D8728 #288D55
split-complementary
#282E8D #8D5528 #608D28
monochromatic
#0D0F2E #1A1E5D #282E8D #363EBD #5E65D1

Accessibility & contrast

On white

11.26
#282E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E8D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E8D#FFFFFF#000000##FFFFFF
##282E8D1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282e8d;
/* rgb */ color: rgb(40, 46, 141);
/* oklch */ color: oklch(36.4% 0.154 273.0);
Tailwind
colors: {
  custom: {
    50: '#7167af',
    500: '#282e8d',
    950: '#000000',
  },
}
SCSS
$custom: #282e8d;
$custom-light: #7167af;
$custom-dark: #000000;
JSON
{
  "hex": "#282e8d",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 236.436,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.15433,
    "h": 273
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#282E8D
secondary
#B7B15A
accent
#D649DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #282E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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