#282E96#282E96

#282E96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.166 H 272.5°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#282E96
RGBrgb(40, 46, 150)
HSLhsl(237, 58%, 37%)
HSVhsv(237, 73%, 59%)
CMYKcmyk(73.3%, 69.3%, 0%, 41.2%)
CIE-LABlab(25.58, 33.83, -57.50)
CIE-LCHlch(25.58, 66.72, 300.47°)
OKLaboklab(37.24% 0.0073 -0.1663)
OKLCHoklch(37.24% 0.166 272.5)
XYZxyz(7.3552, 4.6064, 29.3497)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E96 #969028
analogous
#286596 #282E96 #592896
triadic
#282E96 #96282E #2E9628
tetradic
#282E96 #962865 #969028 #289659
square
#282E96 #962865 #969028 #289659
split-complementary
#282E96 #965928 #659628
monochromatic
#0E1035 #1B1F66 #282E96 #353DC6 #6369D5

Accessibility & contrast

On white

10.93
#282E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#282E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E96
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E96#FFFFFF#000000##FFFFFF
##282E961.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282e96;
/* rgb */ color: rgb(40, 46, 150);
/* oklch */ color: oklch(37.2% 0.166 272.5);
Tailwind
colors: {
  custom: {
    50: '#7367b6',
    500: '#282e96',
    950: '#000000',
  },
}
SCSS
$custom: #282e96;
$custom-light: #7367b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282e96",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 236.727,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.16642,
    "h": 272.5
  },
  "luminance": 0.04607
}

Semantic roles & 50–950 ramp

primary
#282E96
secondary
#BBB65F
accent
#D947E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282E96

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

Preview Lab → · Contrast checker → · Palette generator →

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