#282B9B#282B9B

#282B9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.176 H 272.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#282B9B
RGBrgb(40, 43, 155)
HSLhsl(238, 59%, 38%)
HSVhsv(238, 74%, 61%)
CMYKcmyk(74.2%, 72.3%, 0%, 39.2%)
CIE-LABlab(25.40, 37.48, -60.87)
CIE-LCHlch(25.40, 71.49, 301.62°)
OKLaboklab(37.26% 0.0084 -0.1761)
OKLCHoklch(37.26% 0.176 272.7)
XYZxyz(7.6534, 4.5446, 31.4779)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B9B #9B9828
analogous
#28649B #282B9B #5E289B
triadic
#282B9B #9B282B #2B9B28
tetradic
#282B9B #9B2864 #9B9828 #289B5E
square
#282B9B #9B2864 #9B9828 #289B5E
split-complementary
#282B9B #9B5E28 #649B28
monochromatic
#0F103A #1B1E6A #282B9B #3539CB #6669D7

Accessibility & contrast

On white

11.00
#282B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#282B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B9B
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B9B#FFFFFF#000000##FFFFFF
##282B9B1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282b9b;
/* rgb */ color: rgb(40, 43, 155);
/* oklch */ color: oklch(37.3% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#7565ba',
    500: '#282b9b',
    950: '#000000',
  },
}
SCSS
$custom: #282b9b;
$custom-light: #7565ba;
$custom-dark: #000000;
JSON
{
  "hex": "#282b9b",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 238.435,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37255,
    "c": 0.1763,
    "h": 272.7
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#282B9B
secondary
#BDBB61
accent
#DE46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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