#282D92#282D92

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

Color values

HEX#282D92
RGBrgb(40, 45, 146)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 73%, 57%)
CMYKcmyk(72.6%, 69.2%, 0%, 42.7%)
CIE-LABlab(24.96, 33.03, -56.06)
CIE-LCHlch(24.96, 65.07, 300.51°)
OKLaboklab(36.67% 0.0084 -0.162)
OKLCHoklch(36.67% 0.162 272.9)
XYZxyz(7.0000, 4.4025, 27.6694)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D92 #928D28
analogous
#286292 #282D92 #582892
triadic
#282D92 #92282D #2D9228
tetradic
#282D92 #922862 #928D28 #289258
square
#282D92 #922862 #928D28 #289258
split-complementary
#282D92 #925828 #629228
monochromatic
#0E0F32 #1B1E62 #282D92 #353CC2 #6166D4

Accessibility & contrast

On white

11.17
#282D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#282D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D92
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D92#FFFFFF#000000##FFFFFF
##282D921.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282d92;
/* rgb */ color: rgb(40, 45, 146);
/* oklch */ color: oklch(36.7% 0.162 272.9);
Tailwind
colors: {
  custom: {
    50: '#7266b3',
    500: '#282d92',
    950: '#000000',
  },
}
SCSS
$custom: #282d92;
$custom-light: #7266b3;
$custom-dark: #000000;
JSON
{
  "hex": "#282d92",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 237.17,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3667,
    "c": 0.16226,
    "h": 272.9
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282D92

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

Preview Lab → · Contrast checker → · Palette generator →

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