#282C9A#282C9A

#282C9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.174 H 272.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#282C9A
RGBrgb(40, 44, 154)
HSLhsl(238, 59%, 38%)
HSVhsv(238, 74%, 60%)
CMYKcmyk(74%, 71.4%, 0%, 39.6%)
CIE-LABlab(25.52, 36.51, -60.06)
CIE-LCHlch(25.52, 70.29, 301.30°)
OKLaboklab(37.31% 0.0079 -0.1737)
OKLCHoklch(37.31% 0.174 272.6)
XYZxyz(7.6065, 4.5848, 31.0497)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C9A #9A9628
analogous
#28659A #282C9A #5D289A
triadic
#282C9A #9A282C #2C9A28
tetradic
#282C9A #9A2865 #9A9628 #289A5D
square
#282C9A #9A2865 #9A9628 #289A5D
split-complementary
#282C9A #9A5D28 #659A28
monochromatic
#0F1039 #1B1E69 #282C9A #353ACA #6569D7

Accessibility & contrast

On white

10.95
#282C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#282C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C9A
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C9A#FFFFFF#000000##FFFFFF
##282C9A1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282c9a;
/* rgb */ color: rgb(40, 44, 154);
/* oklch */ color: oklch(37.3% 0.174 272.6);
Tailwind
colors: {
  custom: {
    50: '#7466b9',
    500: '#282c9a',
    950: '#000000',
  },
}
SCSS
$custom: #282c9a;
$custom-light: #7466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#282c9a",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 237.895,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37312,
    "c": 0.17391,
    "h": 272.6
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#282C9A
secondary
#BDBA61
accent
#DC46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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