#282D66#282D66

#282D66 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.099 H 275.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#282D66
RGBrgb(40, 45, 102)
HSLhsl(235, 44%, 28%)
HSVhsv(235, 61%, 40%)
CMYKcmyk(60.8%, 55.9%, 0%, 60%)
CIE-LABlab(21.16, 16.76, -34.37)
CIE-LCHlch(21.16, 38.24, 296.00°)
OKLaboklab(32.69% 0.0098 -0.0984)
OKLCHoklch(32.69% 0.099 275.7)
XYZxyz(4.2110, 3.2869, 12.9803)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D66 #666128
analogous
#284C66 #282D66 #422866
triadic
#282D66 #66282D #2D6628
tetradic
#282D66 #66284C #666128 #286642
square
#282D66 #66284C #666128 #286642
split-complementary
#282D66 #664228 #4C6628
monochromatic
#090A16 #171A3A #282D66 #394092 #4F57BA

Accessibility & contrast

On white

12.67
#282D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D66
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D66#FFFFFF#000000##FFFFFF
##282D661.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3668
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#033A44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282d66;
/* rgb */ color: rgb(40, 45, 102);
/* oklch */ color: oklch(32.7% 0.099 275.7);
Tailwind
colors: {
  custom: {
    50: '#686592',
    500: '#282d66',
    950: '#000000',
  },
}
SCSS
$custom: #282d66;
$custom-light: #686592;
$custom-dark: #000000;
JSON
{
  "hex": "#282d66",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 235.161,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.09886,
    "h": 275.7
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#282D66
secondary
#999351
accent
#C954D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #282D66

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

Preview Lab → · Contrast checker → · Palette generator →

#282D66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva