#282E92#282E92

#282E92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.161 H 272.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#282E92
RGBrgb(40, 46, 146)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 73%, 57%)
CMYKcmyk(72.6%, 68.5%, 0%, 42.7%)
CIE-LABlab(25.20, 32.39, -55.67)
CIE-LCHlch(25.20, 64.41, 300.19°)
OKLaboklab(36.84% 0.0077 -0.1609)
OKLCHoklch(36.84% 0.161 272.7)
XYZxyz(7.0386, 4.4797, 27.6823)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E92 #928C28
analogous
#286392 #282E92 #572892
triadic
#282E92 #92282E #2E9228
tetradic
#282E92 #922863 #928C28 #289257
square
#282E92 #922863 #928C28 #289257
split-complementary
#282E92 #925728 #639228
monochromatic
#0E1032 #1B1F62 #282E92 #353DC2 #6167D4

Accessibility & contrast

On white

11.08
#282E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#282E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E92
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E92#FFFFFF#000000##FFFFFF
##282E921.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282e92;
/* rgb */ color: rgb(40, 46, 146);
/* oklch */ color: oklch(36.8% 0.161 272.7);
Tailwind
colors: {
  custom: {
    50: '#7267b3',
    500: '#282e92',
    950: '#000000',
  },
}
SCSS
$custom: #282e92;
$custom-light: #7267b3;
$custom-dark: #000000;
JSON
{
  "hex": "#282e92",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 236.604,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36843,
    "c": 0.16108,
    "h": 272.7
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#282E92
secondary
#B9B45D
accent
#D848E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282E92

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

Preview Lab → · Contrast checker → · Palette generator →

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