#282D90#282D90

#282D90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.160 H 273.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#282D90
RGBrgb(40, 45, 144)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 72%, 56%)
CMYKcmyk(72.2%, 68.7%, 0%, 43.5%)
CIE-LABlab(24.77, 32.31, -55.14)
CIE-LCHlch(24.77, 63.91, 300.37°)
OKLaboklab(36.47% 0.0086 -0.1594)
OKLCHoklch(36.47% 0.16 273.1)
XYZxyz(6.8458, 4.3408, 26.8572)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D90 #908B28
analogous
#286190 #282D90 #572890
triadic
#282D90 #90282D #2D9028
tetradic
#282D90 #902861 #908B28 #289057
square
#282D90 #902861 #908B28 #289057
split-complementary
#282D90 #905728 #619028
monochromatic
#0D0F30 #1B1E60 #282D90 #353CC0 #6065D3

Accessibility & contrast

On white

11.24
#282D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#282D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D90
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D90#FFFFFF#000000##FFFFFF
##282D901.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282d90;
/* rgb */ color: rgb(40, 45, 144);
/* oklch */ color: oklch(36.5% 0.160 273.1);
Tailwind
colors: {
  custom: {
    50: '#7266b1',
    500: '#282d90',
    950: '#000000',
  },
}
SCSS
$custom: #282d90;
$custom-light: #7266b1;
$custom-dark: #000000;
JSON
{
  "hex": "#282d90",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 237.115,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36472,
    "c": 0.15959,
    "h": 273.1
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#282D90
secondary
#B8B45C
accent
#D948E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282D90

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

Preview Lab → · Contrast checker → · Palette generator →

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