#282D5F#282D5F

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

Color values

HEX#282D5F
RGBrgb(40, 45, 95)
HSLhsl(235, 41%, 26%)
HSVhsv(235, 58%, 37%)
CMYKcmyk(57.9%, 52.6%, 0%, 62.7%)
CIE-LABlab(20.65, 14.16, -30.60)
CIE-LCHlch(20.65, 33.72, 294.84°)
OKLaboklab(32.14% 0.0092 -0.0873)
OKLCHoklch(32.14% 0.088 276)
XYZxyz(3.8784, 3.1539, 11.2286)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D5F #5F5A28
analogous
#28495F #282D5F #3F285F
triadic
#282D5F #5F282D #2D5F28
tetradic
#282D5F #5F2849 #5F5A28 #285F3F
square
#282D5F #5F2849 #5F5A28 #285F3F
split-complementary
#282D5F #5F3F28 #495F28
monochromatic
#090A16 #161934 #282D5F #3A418A #4D57B4

Accessibility & contrast

On white

12.88
#282D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D5F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D5F#FFFFFF#000000##FFFFFF
##282D5F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#0E305E
Tritanopia (blue-blind)
#0D3841
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282d5f;
/* rgb */ color: rgb(40, 45, 95);
/* oklch */ color: oklch(32.1% 0.088 276.0);
Tailwind
colors: {
  custom: {
    50: '#67658d',
    500: '#282d5f',
    950: '#000000',
  },
}
SCSS
$custom: #282d5f;
$custom-light: #67658d;
$custom-dark: #000000;
JSON
{
  "hex": "#282d5f",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 234.545,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3214,
    "c": 0.08777,
    "h": 276
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#282D5F
secondary
#928C51
accent
#C657D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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