#282D91#282D91

#282D91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.161 H 273.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#282D91
RGBrgb(40, 45, 145)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 72%, 57%)
CMYKcmyk(72.4%, 69%, 0%, 43.1%)
CIE-LABlab(24.86, 32.67, -55.60)
CIE-LCHlch(24.86, 64.49, 300.44°)
OKLaboklab(36.57% 0.0085 -0.1607)
OKLCHoklch(36.57% 0.161 273)
XYZxyz(6.9226, 4.3715, 27.2615)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D91 #918C28
analogous
#286291 #282D91 #582891
triadic
#282D91 #91282D #2D9128
tetradic
#282D91 #912862 #918C28 #289158
square
#282D91 #912862 #918C28 #289158
split-complementary
#282D91 #915828 #629128
monochromatic
#0E0F31 #1B1E61 #282D91 #353CC1 #6066D3

Accessibility & contrast

On white

11.20
#282D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#282D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D91
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D91#FFFFFF#000000##FFFFFF
##282D911.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282d91;
/* rgb */ color: rgb(40, 45, 145);
/* oklch */ color: oklch(36.6% 0.161 273.0);
Tailwind
colors: {
  custom: {
    50: '#7266b2',
    500: '#282d91',
    950: '#000000',
  },
}
SCSS
$custom: #282d91;
$custom-light: #7266b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282d91",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 237.143,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36571,
    "c": 0.16093,
    "h": 273
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#282D91
secondary
#B9B45C
accent
#D948E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282D91

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

Preview Lab → · Contrast checker → · Palette generator →

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