#282E91#282E91

#282E91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.160 H 272.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#282E91
RGBrgb(40, 46, 145)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 72%, 57%)
CMYKcmyk(72.4%, 68.3%, 0%, 43.1%)
CIE-LABlab(25.10, 32.03, -55.21)
CIE-LCHlch(25.10, 63.83, 300.12°)
OKLaboklab(36.74% 0.0078 -0.1595)
OKLCHoklch(36.74% 0.16 272.8)
XYZxyz(6.9612, 4.4488, 27.2744)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E91 #918B28
analogous
#286391 #282E91 #572891
triadic
#282E91 #91282E #2E9128
tetradic
#282E91 #912863 #918B28 #289157
square
#282E91 #912863 #918B28 #289157
split-complementary
#282E91 #915728 #639128
monochromatic
#0E1031 #1B1F61 #282E91 #353DC1 #6067D3

Accessibility & contrast

On white

11.11
#282E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#282E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E91
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E91#FFFFFF#000000##FFFFFF
##282E911.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282e91;
/* rgb */ color: rgb(40, 46, 145);
/* oklch */ color: oklch(36.7% 0.160 272.8);
Tailwind
colors: {
  custom: {
    50: '#7267b2',
    500: '#282e91',
    950: '#000000',
  },
}
SCSS
$custom: #282e91;
$custom-light: #7267b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282e91",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 236.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36745,
    "c": 0.15974,
    "h": 272.8
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#282E91
secondary
#B9B35C
accent
#D748E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282E91

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

Preview Lab → · Contrast checker → · Palette generator →

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