#282C96#282C96

#282C96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.169 H 272.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#282C96
RGBrgb(40, 44, 150)
HSLhsl(238, 58%, 37%)
HSVhsv(238, 73%, 59%)
CMYKcmyk(73.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(25.12, 35.10, -58.26)
CIE-LCHlch(25.12, 68.02, 301.06°)
OKLaboklab(36.9% 0.0085 -0.1685)
OKLCHoklch(36.9% 0.169 272.9)
XYZxyz(7.2789, 4.4538, 29.3243)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C96 #969228
analogous
#286396 #282C96 #5B2896
triadic
#282C96 #96282C #2C9628
tetradic
#282C96 #962863 #969228 #28965B
square
#282C96 #962863 #969228 #28965B
split-complementary
#282C96 #965B28 #639628
monochromatic
#0E1035 #1B1E66 #282C96 #353AC6 #6367D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282C96#FFFFFF#000000##FFFFFF
##282C961.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)
#004199
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282c96;
/* rgb */ color: rgb(40, 44, 150);
/* oklch */ color: oklch(36.9% 0.169 272.9);
Tailwind
colors: {
  custom: {
    50: '#7366b6',
    500: '#282c96',
    950: '#000000',
  },
}
SCSS
$custom: #282c96;
$custom-light: #7366b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282c96",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 237.818,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36903,
    "c": 0.1687,
    "h": 272.9
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#282C96
secondary
#BBB85F
accent
#DC47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282C96

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

Preview Lab → · Contrast checker → · Palette generator →

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