#282D67#282D67

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

Color values

HEX#282D67
RGBrgb(40, 45, 103)
HSLhsl(235, 44%, 28%)
HSVhsv(235, 61%, 40%)
CMYKcmyk(61.2%, 56.3%, 0%, 59.6%)
CIE-LABlab(21.23, 17.13, -34.90)
CIE-LCHlch(21.23, 38.87, 296.14°)
OKLaboklab(32.77% 0.0099 -0.0999)
OKLCHoklch(32.77% 0.1 275.7)
XYZxyz(4.2608, 3.3069, 13.2431)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D67 #676228
analogous
#284C67 #282D67 #422867
triadic
#282D67 #67282D #2D6728
tetradic
#282D67 #67284C #676228 #286742
square
#282D67 #67284C #676228 #286742
split-complementary
#282D67 #674228 #4C6728
monochromatic
#090A16 #171A3B #282D67 #394093 #4F57BB

Accessibility & contrast

On white

12.64
#282D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D67
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D67#FFFFFF#000000##FFFFFF
##282D671.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3669
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#013A45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282d67;
/* rgb */ color: rgb(40, 45, 103);
/* oklch */ color: oklch(32.8% 0.100 275.7);
Tailwind
colors: {
  custom: {
    50: '#686593',
    500: '#282d67',
    950: '#000000',
  },
}
SCSS
$custom: #282d67;
$custom-light: #686593;
$custom-dark: #000000;
JSON
{
  "hex": "#282d67",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 235.238,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32766,
    "c": 0.10042,
    "h": 275.7
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282D67

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

Preview Lab → · Contrast checker → · Palette generator →

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