#282D59#282D59

#282D59 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.078 H 276.1°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#282D59
RGBrgb(40, 45, 89)
HSLhsl(234, 38%, 25%)
HSVhsv(234, 55%, 35%)
CMYKcmyk(55.1%, 49.4%, 0%, 65.1%)
CIE-LABlab(20.24, 11.96, -27.29)
CIE-LCHlch(20.24, 29.80, 293.67°)
OKLaboklab(31.7% 0.0083 -0.0776)
OKLCHoklch(31.7% 0.078 276.1)
XYZxyz(3.6161, 3.0489, 9.8472)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D59 #595428
analogous
#284559 #282D59 #3C2859
triadic
#282D59 #59282D #2D5928
tetradic
#282D59 #592845 #595428 #28593C
square
#282D59 #592845 #595428 #28593C
split-complementary
#282D59 #593C28 #455928
monochromatic
#090B15 #15182F #282D59 #3B4283 #4E58AD

Accessibility & contrast

On white

13.05
#282D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D59
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D59#FFFFFF#000000##FFFFFF
##282D591.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A335B
Deuteranopia (green-blind)
#152F58
Tritanopia (blue-blind)
#14363E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282d59;
/* rgb */ color: rgb(40, 45, 89);
/* oklch */ color: oklch(31.7% 0.078 276.1);
Tailwind
colors: {
  custom: {
    50: '#666588',
    500: '#282d59',
    950: '#000000',
  },
}
SCSS
$custom: #282d59;
$custom-light: #666588;
$custom-dark: #000000;
JSON
{
  "hex": "#282d59",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 233.878,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31696,
    "c": 0.07801,
    "h": 276.1
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#282D59
secondary
#8C8651
accent
#C25ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282D59

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

Preview Lab → · Contrast checker → · Palette generator →

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