#282959#282959

#282959 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.084 H 279.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#282959
RGBrgb(40, 41, 89)
HSLhsl(239, 38%, 25%)
HSVhsv(239, 55%, 35%)
CMYKcmyk(55.1%, 53.9%, 0%, 65.1%)
CIE-LABlab(19.05, 14.81, -29.20)
CIE-LCHlch(19.05, 32.74, 296.90°)
OKLaboklab(30.8% 0.0137 -0.0832)
OKLCHoklch(30.8% 0.084 279.3)
XYZxyz(3.4706, 2.7581, 9.7987)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282959 #595828
analogous
#284159 #282959 #402859
triadic
#282959 #592829 #295928
tetradic
#282959 #592841 #595828 #285940
square
#282959 #592841 #595828 #285940
split-complementary
#282959 #594028 #415928
monochromatic
#090A15 #15162F #282959 #3B3C83 #4E50AD

Accessibility & contrast

On white

13.53
#282959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#282959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282959
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282959#FFFFFF#000000##FFFFFF
##2829591.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#0D2C58
Tritanopia (blue-blind)
#14343C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282959;
/* rgb */ color: rgb(40, 41, 89);
/* oklch */ color: oklch(30.8% 0.084 279.3);
Tailwind
colors: {
  custom: {
    50: '#666288',
    500: '#282959',
    950: '#000000',
  },
}
SCSS
$custom: #282959;
$custom-light: #666288;
$custom-dark: #000000;
JSON
{
  "hex": "#282959",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 238.776,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30795,
    "c": 0.08432,
    "h": 279.3
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#282959
secondary
#8C8B51
accent
#CC5ACE
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282959

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

Preview Lab → · Contrast checker → · Palette generator →

#282959 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva