#282E80#282E80

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

Color values

HEX#282E80
RGBrgb(40, 46, 128)
HSLhsl(236, 52%, 33%)
HSVhsv(236, 69%, 50%)
CMYKcmyk(68.8%, 64.1%, 0%, 49.8%)
CIE-LABlab(23.55, 25.78, -47.14)
CIE-LCHlch(23.55, 53.73, 298.67°)
OKLaboklab(35.13% 0.0091 -0.1359)
OKLCHoklch(35.13% 0.136 273.8)
XYZxyz(5.7471, 3.9631, 20.8800)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E80 #807A28
analogous
#285A80 #282E80 #4E2880
triadic
#282E80 #80282E #2E8028
tetradic
#282E80 #80285A #807A28 #28804E
square
#282E80 #80285A #807A28 #28804E
split-complementary
#282E80 #804E28 #5A8028
monochromatic
#0B0C23 #191D51 #282E80 #373FAF #5860CB

Accessibility & contrast

On white

11.71
#282E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#282E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E80
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E80#FFFFFF#000000##FFFFFF
##282E801.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282e80;
/* rgb */ color: rgb(40, 46, 128);
/* oklch */ color: oklch(35.1% 0.136 273.8);
Tailwind
colors: {
  custom: {
    50: '#6e66a6',
    500: '#282e80',
    950: '#000000',
  },
}
SCSS
$custom: #282e80;
$custom-light: #6e66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282e80",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 235.909,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3513,
    "c": 0.13622,
    "h": 273.8
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282E80

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

Preview Lab → · Contrast checker → · Palette generator →

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