#282E8A#282E8A

#282E8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.150 H 273.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#282E8A
RGBrgb(40, 46, 138)
HSLhsl(236, 55%, 35%)
HSVhsv(236, 71%, 54%)
CMYKcmyk(71%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.45, 29.47, -51.94)
CIE-LCHlch(24.45, 59.72, 299.57°)
OKLaboklab(36.07% 0.0084 -0.15)
OKLCHoklch(36.07% 0.15 273.2)
XYZxyz(6.4380, 4.2395, 24.5188)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E8A #8A8428
analogous
#285F8A #282E8A #53288A
triadic
#282E8A #8A282E #2E8A28
tetradic
#282E8A #8A285F #8A8428 #288A53
square
#282E8A #8A285F #8A8428 #288A53
split-complementary
#282E8A #8A5328 #5F8A28
monochromatic
#0C0E2B #1A1E5B #282E8A #363EB9 #5D64D0

Accessibility & contrast

On white

11.36
#282E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#282E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E8A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E8A#FFFFFF#000000##FFFFFF
##282E8A1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282e8a;
/* rgb */ color: rgb(40, 46, 138);
/* oklch */ color: oklch(36.1% 0.150 273.2);
Tailwind
colors: {
  custom: {
    50: '#7067ad',
    500: '#282e8a',
    950: '#000000',
  },
}
SCSS
$custom: #282e8a;
$custom-light: #7067ad;
$custom-dark: #000000;
JSON
{
  "hex": "#282e8a",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 236.327,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36067,
    "c": 0.15023,
    "h": 273.2
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#282E8A
secondary
#B5B059
accent
#D549DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #282E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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