#282D5D#282D5D

#282D5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.085 H 276.0°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#282D5D
RGBrgb(40, 45, 93)
HSLhsl(234, 40%, 26%)
HSVhsv(234, 57%, 36%)
CMYKcmyk(57%, 51.6%, 0%, 63.5%)
CIE-LABlab(20.51, 13.43, -29.51)
CIE-LCHlch(20.51, 32.42, 294.47°)
OKLaboklab(31.99% 0.0089 -0.0841)
OKLCHoklch(31.99% 0.085 276)
XYZxyz(3.7886, 3.1180, 10.7560)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D5D #5D5828
analogous
#28475D #282D5D #3D285D
triadic
#282D5D #5D282D #2D5D28
tetradic
#282D5D #5D2847 #5D5828 #285D3D
square
#282D5D #5D2847 #5D5828 #285D3D
split-complementary
#282D5D #5D3D28 #475D28
monochromatic
#090A15 #161832 #282D5D #3A4288 #4D57B2

Accessibility & contrast

On white

12.93
#282D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D5D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D5D#FFFFFF#000000##FFFFFF
##282D5D1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17345F
Deuteranopia (green-blind)
#112F5C
Tritanopia (blue-blind)
#103840
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282d5d;
/* rgb */ color: rgb(40, 45, 93);
/* oklch */ color: oklch(32.0% 0.085 276.0);
Tailwind
colors: {
  custom: {
    50: '#67658b',
    500: '#282d5d',
    950: '#000000',
  },
}
SCSS
$custom: #282d5d;
$custom-light: #67658b;
$custom-dark: #000000;
JSON
{
  "hex": "#282d5d",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 234.34,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3199,
    "c": 0.08454,
    "h": 276
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#282D5D
secondary
#908A51
accent
#C458D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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