#282970#282970

#282970 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.120 H 276.9°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#282970
RGBrgb(40, 41, 112)
HSLhsl(239, 47%, 30%)
HSVhsv(239, 64%, 44%)
CMYKcmyk(64.3%, 63.4%, 0%, 56.1%)
CIE-LABlab(20.85, 23.25, -41.34)
CIE-LCHlch(20.85, 47.44, 299.36°)
OKLaboklab(32.71% 0.0144 -0.1189)
OKLCHoklch(32.71% 0.12 276.9)
XYZxyz(4.5917, 3.2065, 15.7030)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282970 #706F28
analogous
#284D70 #282970 #4B2870
triadic
#282970 #702829 #297028
tetradic
#282970 #70284D #706F28 #28704B
square
#282970 #70284D #706F28 #28704B
split-complementary
#282970 #704B28 #4D7028
monochromatic
#080817 #181843 #282970 #383A9D #5153C1

Accessibility & contrast

On white

12.79
#282970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#282970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282970
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282970#FFFFFF#000000##FFFFFF
##2829701.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282970;
/* rgb */ color: rgb(40, 41, 112);
/* oklch */ color: oklch(32.7% 0.120 276.9);
Tailwind
colors: {
  custom: {
    50: '#6b629a',
    500: '#282970',
    950: '#000000',
  },
}
SCSS
$custom: #282970;
$custom-light: #6b629a;
$custom-dark: #000000;
JSON
{
  "hex": "#282970",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 239.167,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32712,
    "c": 0.11979,
    "h": 276.9
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#282970
secondary
#A2A151
accent
#D551D7
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282970

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

Preview Lab → · Contrast checker → · Palette generator →

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