#282D89#282D89

#282D89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.150 H 273.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#282D89
RGBrgb(40, 45, 137)
HSLhsl(237, 55%, 35%)
HSVhsv(237, 71%, 54%)
CMYKcmyk(70.8%, 67.2%, 0%, 46.3%)
CIE-LABlab(24.11, 29.76, -51.87)
CIE-LCHlch(24.11, 59.81, 299.85°)
OKLaboklab(35.79% 0.0093 -0.1498)
OKLCHoklch(35.79% 0.15 273.5)
XYZxyz(6.3273, 4.1334, 24.1264)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D89 #898428
analogous
#285E89 #282D89 #532889
triadic
#282D89 #89282D #2D8928
tetradic
#282D89 #89285E #898428 #288953
square
#282D89 #89285E #898428 #288953
split-complementary
#282D89 #895328 #5E8928
monochromatic
#0C0E2A #1A1D5A #282D89 #363DB8 #5C62CF

Accessibility & contrast

On white

11.50
#282D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D89
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D89#FFFFFF#000000##FFFFFF
##282D891.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282d89;
/* rgb */ color: rgb(40, 45, 137);
/* oklch */ color: oklch(35.8% 0.150 273.5);
Tailwind
colors: {
  custom: {
    50: '#7066ac',
    500: '#282d89',
    950: '#000000',
  },
}
SCSS
$custom: #282d89;
$custom-light: #7066ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282d89",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 236.907,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3579,
    "c": 0.15009,
    "h": 273.5
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#282D89
secondary
#B5B058
accent
#D64ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282D89

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

Preview Lab → · Contrast checker → · Palette generator →

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