#282D75#282D75

#282D75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.122 H 274.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#282D75
RGBrgb(40, 45, 117)
HSLhsl(236, 49%, 31%)
HSVhsv(236, 66%, 46%)
CMYKcmyk(65.8%, 61.5%, 0%, 54.1%)
CIE-LABlab(22.34, 22.36, -42.13)
CIE-LCHlch(22.34, 47.69, 297.96°)
OKLaboklab(33.95% 0.0103 -0.1212)
OKLCHoklch(33.95% 0.122 274.9)
XYZxyz(5.0233, 3.6118, 17.2586)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D75 #757028
analogous
#285375 #282D75 #492875
triadic
#282D75 #75282D #2D7528
tetradic
#282D75 #752853 #757028 #287549
square
#282D75 #752853 #757028 #287549
split-complementary
#282D75 #754928 #537528
monochromatic
#090A1A #181B47 #282D75 #383FA3 #535AC4

Accessibility & contrast

On white

12.19
#282D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D75
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D75#FFFFFF#000000##FFFFFF
##282D751.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282d75;
/* rgb */ color: rgb(40, 45, 117);
/* oklch */ color: oklch(33.9% 0.122 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b669d',
    500: '#282d75',
    950: '#000000',
  },
}
SCSS
$custom: #282d75;
$custom-light: #6b669d;
$custom-dark: #000000;
JSON
{
  "hex": "#282d75",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 236.104,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33946,
    "c": 0.12163,
    "h": 274.9
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#282D75
secondary
#A7A252
accent
#D04FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282D75

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

Preview Lab → · Contrast checker → · Palette generator →

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