#282E79#282E79

#282E79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.126 H 274.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#282E79
RGBrgb(40, 46, 121)
HSLhsl(236, 50%, 32%)
HSVhsv(236, 67%, 47%)
CMYKcmyk(66.9%, 62%, 0%, 52.5%)
CIE-LABlab(22.95, 23.17, -43.69)
CIE-LCHlch(22.95, 49.46, 297.93°)
OKLaboklab(34.5% 0.0093 -0.1258)
OKLCHoklch(34.5% 0.126 274.2)
XYZxyz(5.3021, 3.7851, 18.5366)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E79 #797328
analogous
#285779 #282E79 #4B2879
triadic
#282E79 #79282E #2E7928
tetradic
#282E79 #792857 #797328 #28794B
square
#282E79 #792857 #797328 #28794B
split-complementary
#282E79 #794B28 #577928
monochromatic
#0A0B1D #191D4B #282E79 #373FA7 #555DC7

Accessibility & contrast

On white

11.95
#282E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E79
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E79#FFFFFF#000000##FFFFFF
##282E791.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282e79;
/* rgb */ color: rgb(40, 46, 121);
/* oklch */ color: oklch(34.5% 0.126 274.2);
Tailwind
colors: {
  custom: {
    50: '#6c66a0',
    500: '#282e79',
    950: '#000000',
  },
}
SCSS
$custom: #282e79;
$custom-light: #6c66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#282e79",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 235.556,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34499,
    "c": 0.12613,
    "h": 274.2
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#282E79
secondary
#ABA452
accent
#CF4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #282E79

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

Preview Lab → · Contrast checker → · Palette generator →

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