#282C92#282C92

#282C92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.163 H 273.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#282C92
RGBrgb(40, 44, 146)
HSLhsl(238, 57%, 36%)
HSVhsv(238, 73%, 57%)
CMYKcmyk(72.6%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.72, 33.67, -56.45)
CIE-LCHlch(24.72, 65.73, 300.82°)
OKLaboklab(36.5% 0.009 -0.1632)
OKLCHoklch(36.5% 0.163 273.2)
XYZxyz(6.9623, 4.3271, 27.6569)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C92 #928E28
analogous
#286192 #282C92 #592892
triadic
#282C92 #92282C #2C9228
tetradic
#282C92 #922861 #928E28 #289259
square
#282C92 #922861 #928E28 #289259
split-complementary
#282C92 #925928 #619228
monochromatic
#0E0F32 #1B1E62 #282C92 #353AC2 #6165D4

Accessibility & contrast

On white

11.26
#282C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C92
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C92#FFFFFF#000000##FFFFFF
##282C921.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.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: #282c92;
/* rgb */ color: rgb(40, 44, 146);
/* oklch */ color: oklch(36.5% 0.163 273.2);
Tailwind
colors: {
  custom: {
    50: '#7266b3',
    500: '#282c92',
    950: '#000000',
  },
}
SCSS
$custom: #282c92;
$custom-light: #7266b3;
$custom-dark: #000000;
JSON
{
  "hex": "#282c92",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 237.736,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.365,
    "c": 0.16343,
    "h": 273.2
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#282C92
secondary
#B9B65D
accent
#DA48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282C92

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

Preview Lab → · Contrast checker → · Palette generator →

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