#282B9C#282B9C

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

Color values

HEX#282B9C
RGBrgb(40, 43, 156)
HSLhsl(238, 59%, 38%)
HSVhsv(238, 74%, 61%)
CMYKcmyk(74.4%, 72.4%, 0%, 38.8%)
CIE-LABlab(25.50, 37.83, -61.32)
CIE-LCHlch(25.50, 72.05, 301.67°)
OKLaboklab(37.36% 0.0082 -0.1774)
OKLCHoklch(37.36% 0.178 272.6)
XYZxyz(7.7377, 4.5784, 31.9220)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B9C #9C9928
analogous
#28659C #282B9C #5F289C
triadic
#282B9C #9C282B #2B9C28
tetradic
#282B9C #9C2865 #9C9928 #289C5F
square
#282B9C #9C2865 #9C9928 #289C5F
split-complementary
#282B9C #9C5F28 #659C28
monochromatic
#0F103B #1C1E6B #282B9C #363ACB #6769D8

Accessibility & contrast

On white

10.96
#282B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B9C
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B9C#FFFFFF#000000##FFFFFF
##282B9C1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282b9c;
/* rgb */ color: rgb(40, 43, 156);
/* oklch */ color: oklch(37.4% 0.178 272.6);
Tailwind
colors: {
  custom: {
    50: '#7565ba',
    500: '#282b9c',
    950: '#000000',
  },
}
SCSS
$custom: #282b9c;
$custom-light: #7565ba;
$custom-dark: #000000;
JSON
{
  "hex": "#282b9c",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 238.448,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37359,
    "c": 0.17758,
    "h": 272.6
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#282B9C
secondary
#BEBC62
accent
#DE45E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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