#282B76#282B76

#282B76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.126 H 275.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#282B76
RGBrgb(40, 43, 118)
HSLhsl(238, 49%, 31%)
HSVhsv(238, 66%, 46%)
CMYKcmyk(66.1%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.90, 24.10, -43.50)
CIE-LCHlch(21.90, 49.73, 298.99°)
OKLaboklab(33.64% 0.0122 -0.1252)
OKLCHoklch(33.64% 0.126 275.6)
XYZxyz(5.0079, 3.4865, 17.5451)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B76 #767328
analogous
#285276 #282B76 #4C2876
triadic
#282B76 #76282B #2B7628
tetradic
#282B76 #762852 #767328 #28764C
square
#282B76 #762852 #767328 #28764C
split-complementary
#282B76 #764C28 #527628
monochromatic
#090A1B #191A48 #282B76 #373CA4 #5458C5

Accessibility & contrast

On white

12.37
#282B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#282B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B76
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B76#FFFFFF#000000##FFFFFF
##282B761.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282b76;
/* rgb */ color: rgb(40, 43, 118);
/* oklch */ color: oklch(33.6% 0.126 275.6);
Tailwind
colors: {
  custom: {
    50: '#6c649e',
    500: '#282b76',
    950: '#000000',
  },
}
SCSS
$custom: #282b76;
$custom-light: #6c649e;
$custom-dark: #000000;
JSON
{
  "hex": "#282b76",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 237.692,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33641,
    "c": 0.12583,
    "h": 275.6
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#282B76
secondary
#A8A552
accent
#D44FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282B76

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

Preview Lab → · Contrast checker → · Palette generator →

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