#282B79#282B79

#282B79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.130 H 275.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#282B79
RGBrgb(40, 43, 121)
HSLhsl(238, 50%, 32%)
HSVhsv(238, 67%, 47%)
CMYKcmyk(66.9%, 64.5%, 0%, 52.5%)
CIE-LABlab(22.16, 25.21, -44.98)
CIE-LCHlch(22.16, 51.57, 299.27°)
OKLaboklab(33.91% 0.0121 -0.1296)
OKLCHoklch(33.91% 0.13 275.3)
XYZxyz(5.1890, 3.5589, 18.4989)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B79 #797628
analogous
#285479 #282B79 #4E2879
triadic
#282B79 #79282B #2B7928
tetradic
#282B79 #792854 #797628 #28794E
square
#282B79 #792854 #797628 #28794E
split-complementary
#282B79 #794E28 #547928
monochromatic
#0A0A1D #191B4B #282B79 #373BA7 #5559C7

Accessibility & contrast

On white

12.27
#282B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#282B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B79
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B79#FFFFFF#000000##FFFFFF
##282B791.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282b79;
/* rgb */ color: rgb(40, 43, 121);
/* oklch */ color: oklch(33.9% 0.130 275.3);
Tailwind
colors: {
  custom: {
    50: '#6c64a0',
    500: '#282b79',
    950: '#000000',
  },
}
SCSS
$custom: #282b79;
$custom-light: #6c64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#282b79",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 237.778,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33914,
    "c": 0.13017,
    "h": 275.3
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#282B79
secondary
#ABA852
accent
#D54EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050F
muted
#7A7A7E

Preview Lab

Preview with #282B79

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

Preview Lab → · Contrast checker → · Palette generator →

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