#282D9B#282D9B

#282D9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.174 H 272.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#282D9B
RGBrgb(40, 45, 155)
HSLhsl(237, 59%, 38%)
HSVhsv(237, 74%, 61%)
CMYKcmyk(74.2%, 71%, 0%, 39.2%)
CIE-LABlab(25.84, 36.25, -60.14)
CIE-LCHlch(25.84, 70.22, 301.08°)
OKLaboklab(37.58% 0.0072 -0.1739)
OKLCHoklch(37.58% 0.174 272.4)
XYZxyz(7.7279, 4.6937, 31.5027)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D9B #9B9628
analogous
#28669B #282D9B #5C289B
triadic
#282D9B #9B282D #2D9B28
tetradic
#282D9B #9B2866 #9B9628 #289B5C
square
#282D9B #9B2866 #9B9628 #289B5C
split-complementary
#282D9B #9B5C28 #669B28
monochromatic
#0F113A #1B1F6A #282D9B #353CCB #666BD7

Accessibility & contrast

On white

10.83
#282D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#282D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D9B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D9B#FFFFFF#000000##FFFFFF
##282D9B1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282d9b;
/* rgb */ color: rgb(40, 45, 155);
/* oklch */ color: oklch(37.6% 0.174 272.4);
Tailwind
colors: {
  custom: {
    50: '#7467ba',
    500: '#282d9b',
    950: '#000000',
  },
}
SCSS
$custom: #282d9b;
$custom-light: #7467ba;
$custom-dark: #000000;
JSON
{
  "hex": "#282d9b",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 237.391,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37576,
    "c": 0.1741,
    "h": 272.4
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#282D9B
secondary
#BDB961
accent
#DB46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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