#282960#282960

#282960 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.095 H 278.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#282960
RGBrgb(40, 41, 96)
HSLhsl(239, 41%, 27%)
HSVhsv(239, 58%, 38%)
CMYKcmyk(58.3%, 57.3%, 0%, 62.4%)
CIE-LABlab(19.56, 17.36, -33.01)
CIE-LCHlch(19.56, 37.30, 297.75°)
OKLaboklab(31.35% 0.0142 -0.0944)
OKLCHoklch(31.35% 0.095 278.6)
XYZxyz(3.7787, 2.8813, 11.4211)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282960 #605F28
analogous
#284560 #282960 #432860
triadic
#282960 #602829 #296028
tetradic
#282960 #602845 #605F28 #286043
square
#282960 #602845 #605F28 #286043
split-complementary
#282960 #604328 #456028
monochromatic
#090916 #161735 #282960 #3A3B8B #4D4FB5

Accessibility & contrast

On white

13.32
#282960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282960
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282960#FFFFFF#000000##FFFFFF
##2829601.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093262
Deuteranopia (green-blind)
#012D5F
Tritanopia (blue-blind)
#0D3540
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282960;
/* rgb */ color: rgb(40, 41, 96);
/* oklch */ color: oklch(31.3% 0.095 278.6);
Tailwind
colors: {
  custom: {
    50: '#67628e',
    500: '#282960',
    950: '#000000',
  },
}
SCSS
$custom: #282960;
$custom-light: #67628e;
$custom-dark: #000000;
JSON
{
  "hex": "#282960",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 96
  },
  "hsl": {
    "h": 238.929,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31346,
    "c": 0.09548,
    "h": 278.6
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#282960
secondary
#939251
accent
#CF57D1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #282960

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

Preview Lab → · Contrast checker → · Palette generator →

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