#282160#282160

#282160 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.107 H 282.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#282160
RGBrgb(40, 33, 96)
HSLhsl(247, 49%, 25%)
HSVhsv(247, 66%, 38%)
CMYKcmyk(58.3%, 65.6%, 0%, 62.4%)
CIE-LABlab(17.38, 22.93, -36.54)
CIE-LCHlch(17.38, 43.14, 302.11°)
OKLaboklab(29.73% 0.0237 -0.1048)
OKLCHoklch(29.73% 0.107 282.7)
XYZxyz(3.5296, 2.3831, 11.3381)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282160 #596021
analogous
#213960 #282160 #472160
triadic
#282160 #602821 #216028
tetradic
#282160 #602139 #596021 #216047
square
#282160 #602139 #596021 #216047
split-complementary
#282160 #604721 #396021
monochromatic
#090817 #151132 #282160 #3B318E #4E40BB

Accessibility & contrast

On white

14.22
#282160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#282160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282160
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282160#FFFFFF#000000##FFFFFF
##2821601.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#0E303D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282160;
/* rgb */ color: rgb(40, 33, 96);
/* oklch */ color: oklch(29.7% 0.107 282.7);
Tailwind
colors: {
  custom: {
    50: '#685c8e',
    500: '#282160',
    950: '#000000',
  },
}
SCSS
$custom: #282160;
$custom-light: #685c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#282160",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 246.667,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29732,
    "c": 0.10748,
    "h": 282.7
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#282160
secondary
#8C9449
accent
#D84FC9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #282160

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

Preview Lab → · Contrast checker → · Palette generator →

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