#282D68#282D68

#282D68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.102 H 275.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#282D68
RGBrgb(40, 45, 104)
HSLhsl(235, 44%, 28%)
HSVhsv(235, 62%, 41%)
CMYKcmyk(61.5%, 56.7%, 0%, 59.2%)
CIE-LABlab(21.31, 17.50, -35.43)
CIE-LCHlch(21.31, 39.51, 296.29°)
OKLaboklab(32.85% 0.01 -0.1015)
OKLCHoklch(32.85% 0.102 275.6)
XYZxyz(4.3113, 3.3270, 13.5090)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D68 #686328
analogous
#284D68 #282D68 #432868
triadic
#282D68 #68282D #2D6828
tetradic
#282D68 #68284D #686328 #286843
square
#282D68 #68284D #686328 #286843
split-complementary
#282D68 #684328 #4D6828
monochromatic
#090A16 #171A3C #282D68 #394094 #4F58BB

Accessibility & contrast

On white

12.61
#282D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D68
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D68#FFFFFF#000000##FFFFFF
##282D681.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282d68;
/* rgb */ color: rgb(40, 45, 104);
/* oklch */ color: oklch(32.8% 0.102 275.6);
Tailwind
colors: {
  custom: {
    50: '#696594',
    500: '#282d68',
    950: '#000000',
  },
}
SCSS
$custom: #282d68;
$custom-light: #696594;
$custom-dark: #000000;
JSON
{
  "hex": "#282d68",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 235.313,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32847,
    "c": 0.10197,
    "h": 275.6
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#282D68
secondary
#9B9551
accent
#CA54D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #282D68

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

Preview Lab → · Contrast checker → · Palette generator →

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