#282D9A#282D9A

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

Color values

HEX#282D9A
RGBrgb(40, 45, 154)
HSLhsl(237, 59%, 38%)
HSVhsv(237, 74%, 60%)
CMYKcmyk(74%, 70.8%, 0%, 39.6%)
CIE-LABlab(25.74, 35.89, -59.69)
CIE-LCHlch(25.74, 69.65, 301.02°)
OKLaboklab(37.48% 0.0074 -0.1726)
OKLCHoklch(37.48% 0.173 272.4)
XYZxyz(7.6442, 4.6602, 31.0622)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D9A #9A9528
analogous
#28669A #282D9A #5C289A
triadic
#282D9A #9A282D #2D9A28
tetradic
#282D9A #9A2866 #9A9528 #289A5C
square
#282D9A #9A2866 #9A9528 #289A5C
split-complementary
#282D9A #9A5C28 #669A28
monochromatic
#0F1139 #1B1F69 #282D9A #353BCA #656AD7

Accessibility & contrast

On white

10.87
#282D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#282D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D9A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D9A#FFFFFF#000000##FFFFFF
##282D9A1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282d9a;
/* rgb */ color: rgb(40, 45, 154);
/* oklch */ color: oklch(37.5% 0.173 272.4);
Tailwind
colors: {
  custom: {
    50: '#7466b9',
    500: '#282d9a',
    950: '#000000',
  },
}
SCSS
$custom: #282d9a;
$custom-light: #7466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#282d9a",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 237.368,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37475,
    "c": 0.17281,
    "h": 272.4
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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