#282D60#282D60

#282D60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.089 H 276.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#282D60
RGBrgb(40, 45, 96)
HSLhsl(235, 41%, 27%)
HSVhsv(235, 58%, 38%)
CMYKcmyk(58.3%, 53.1%, 0%, 62.4%)
CIE-LABlab(20.72, 14.53, -31.14)
CIE-LCHlch(20.72, 34.37, 295.01°)
OKLaboklab(32.22% 0.0093 -0.0889)
OKLCHoklch(32.22% 0.089 276)
XYZxyz(3.9241, 3.1722, 11.4696)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D60 #605B28
analogous
#284960 #282D60 #3F2860
triadic
#282D60 #60282D #2D6028
tetradic
#282D60 #602849 #605B28 #28603F
square
#282D60 #602849 #605B28 #28603F
split-complementary
#282D60 #603F28 #496028
monochromatic
#090A16 #161935 #282D60 #3A418B #4D57B5

Accessibility & contrast

On white

12.85
#282D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#282D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D60
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D60#FFFFFF#000000##FFFFFF
##282D601.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143462
Deuteranopia (green-blind)
#0C305F
Tritanopia (blue-blind)
#0C3842
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282d60;
/* rgb */ color: rgb(40, 45, 96);
/* oklch */ color: oklch(32.2% 0.089 276.0);
Tailwind
colors: {
  custom: {
    50: '#67658d',
    500: '#282d60',
    950: '#000000',
  },
}
SCSS
$custom: #282d60;
$custom-light: #67658d;
$custom-dark: #000000;
JSON
{
  "hex": "#282d60",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 234.643,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32216,
    "c": 0.08937,
    "h": 276
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#282D60
secondary
#938D51
accent
#C657D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282D60

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

Preview Lab → · Contrast checker → · Palette generator →

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