#282D81#282D81

#282D81 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.139 H 274.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#282D81
RGBrgb(40, 45, 129)
HSLhsl(237, 53%, 33%)
HSVhsv(237, 69%, 51%)
CMYKcmyk(69%, 65.1%, 0%, 49.4%)
CIE-LABlab(23.38, 26.82, -48.05)
CIE-LCHlch(23.38, 55.03, 299.17°)
OKLaboklab(35.03% 0.0099 -0.1386)
OKLCHoklch(35.03% 0.139 274.1)
XYZxyz(5.7746, 3.9123, 21.2155)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D81 #817C28
analogous
#285981 #282D81 #4F2881
triadic
#282D81 #81282D #2D8128
tetradic
#282D81 #812859 #817C28 #28814F
square
#282D81 #812859 #817C28 #28814F
split-complementary
#282D81 #814F28 #598128
monochromatic
#0B0C24 #1A1D52 #282D81 #363DB0 #585FCB

Accessibility & contrast

On white

11.78
#282D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#282D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D81
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D81#FFFFFF#000000##FFFFFF
##282D811.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282d81;
/* rgb */ color: rgb(40, 45, 129);
/* oklch */ color: oklch(35.0% 0.139 274.1);
Tailwind
colors: {
  custom: {
    50: '#6e66a6',
    500: '#282d81',
    950: '#000000',
  },
}
SCSS
$custom: #282d81;
$custom-light: #6e66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282d81",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 236.629,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.13894,
    "h": 274.1
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#282D81
secondary
#B0AB54
accent
#D44CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #282D81

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

Preview Lab → · Contrast checker → · Palette generator →

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