#282B59#282B59

#282B59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.081 H 277.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#282B59
RGBrgb(40, 43, 89)
HSLhsl(236, 38%, 25%)
HSVhsv(236, 55%, 35%)
CMYKcmyk(55.1%, 51.7%, 0%, 65.1%)
CIE-LABlab(19.64, 13.39, -28.25)
CIE-LCHlch(19.64, 31.26, 295.36°)
OKLaboklab(31.24% 0.011 -0.0804)
OKLCHoklch(31.24% 0.081 277.8)
XYZxyz(3.5416, 2.8999, 9.8224)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B59 #595628
analogous
#284359 #282B59 #3E2859
triadic
#282B59 #59282B #2B5928
tetradic
#282B59 #592843 #595628 #28593E
square
#282B59 #592843 #595628 #28593E
split-complementary
#282B59 #593E28 #435928
monochromatic
#090A15 #15172F #282B59 #3B3F83 #4E54AD

Accessibility & contrast

On white

13.29
#282B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B59
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B59#FFFFFF#000000##FFFFFF
##282B591.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325B
Deuteranopia (green-blind)
#112E58
Tritanopia (blue-blind)
#14353D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282b59;
/* rgb */ color: rgb(40, 43, 89);
/* oklch */ color: oklch(31.2% 0.081 277.8);
Tailwind
colors: {
  custom: {
    50: '#666488',
    500: '#282b59',
    950: '#000000',
  },
}
SCSS
$custom: #282b59;
$custom-light: #666488;
$custom-dark: #000000;
JSON
{
  "hex": "#282b59",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 236.327,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31241,
    "c": 0.08116,
    "h": 277.8
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#282B59
secondary
#8C8851
accent
#C75ACE
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282B59

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

Preview Lab → · Contrast checker → · Palette generator →

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