#282866#282866

#282866 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.106 H 278.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#282866
RGBrgb(40, 40, 102)
HSLhsl(240, 44%, 28%)
HSVhsv(240, 61%, 40%)
CMYKcmyk(60.8%, 60.8%, 0%, 60%)
CIE-LABlab(19.75, 20.27, -36.64)
CIE-LCHlch(19.75, 41.87, 298.95°)
OKLaboklab(31.64% 0.0156 -0.1051)
OKLCHoklch(31.64% 0.106 278.4)
XYZxyz(4.0314, 2.9277, 12.9205)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282866 #666628
analogous
#284766 #282866 #472866
triadic
#282866 #662828 #286628
tetradic
#282866 #662847 #666628 #286647
square
#282866 #662847 #666628 #286647
split-complementary
#282866 #664728 #476628
monochromatic
#090916 #17173A #282866 #393992 #4F4FBA

Accessibility & contrast

On white

13.24
#282866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#282866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282866
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282866#FFFFFF#000000##FFFFFF
##2828661.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#043742
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282866;
/* rgb */ color: rgb(40, 40, 102);
/* oklch */ color: oklch(31.6% 0.106 278.4);
Tailwind
colors: {
  custom: {
    50: '#696292',
    500: '#282866',
    950: '#000000',
  },
}
SCSS
$custom: #282866;
$custom-light: #696292;
$custom-dark: #000000;
JSON
{
  "hex": "#282866",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 240,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31637,
    "c": 0.10625,
    "h": 278.4
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#282866
secondary
#999951
accent
#D354D3
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #282866

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

Preview Lab → · Contrast checker → · Palette generator →

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