#282E81#282E81

#282E81 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.138 H 273.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#282E81
RGBrgb(40, 46, 129)
HSLhsl(236, 53%, 33%)
HSVhsv(236, 69%, 51%)
CMYKcmyk(69%, 64.3%, 0%, 49.4%)
CIE-LABlab(23.64, 26.15, -47.63)
CIE-LCHlch(23.64, 54.34, 298.77°)
OKLaboklab(35.22% 0.009 -0.1373)
OKLCHoklch(35.22% 0.138 273.8)
XYZxyz(5.8132, 3.9896, 21.2283)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E81 #817B28
analogous
#285A81 #282E81 #4E2881
triadic
#282E81 #81282E #2E8128
tetradic
#282E81 #81285A #817B28 #28814E
square
#282E81 #81285A #817B28 #28814E
split-complementary
#282E81 #814E28 #5A8128
monochromatic
#0B0D24 #1A1D52 #282E81 #363FB0 #5860CB

Accessibility & contrast

On white

11.68
#282E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E81
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E81#FFFFFF#000000##FFFFFF
##282E811.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282e81;
/* rgb */ color: rgb(40, 46, 129);
/* oklch */ color: oklch(35.2% 0.138 273.8);
Tailwind
colors: {
  custom: {
    50: '#6e66a6',
    500: '#282e81',
    950: '#000000',
  },
}
SCSS
$custom: #282e81;
$custom-light: #6e66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282e81",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 235.955,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35222,
    "c": 0.13765,
    "h": 273.8
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#282E81
secondary
#B0AA54
accent
#D24CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #282E81

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

Preview Lab → · Contrast checker → · Palette generator →

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