#282D6F#282D6F

#282D6F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.113 H 275.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#282D6F
RGBrgb(40, 45, 111)
HSLhsl(236, 47%, 30%)
HSVhsv(236, 64%, 44%)
CMYKcmyk(64%, 59.5%, 0%, 56.5%)
CIE-LABlab(21.85, 20.12, -39.07)
CIE-LCHlch(21.85, 43.95, 297.25°)
OKLaboklab(33.43% 0.0103 -0.1122)
OKLCHoklch(33.43% 0.113 275.2)
XYZxyz(4.6818, 3.4752, 15.4599)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D6F #6F6A28
analogous
#28516F #282D6F #47286F
triadic
#282D6F #6F282D #2D6F28
tetradic
#282D6F #6F2851 #6F6A28 #286F47
square
#282D6F #6F2851 #6F6A28 #286F47
split-complementary
#282D6F #6F4728 #516F28
monochromatic
#080916 #181B42 #282D6F #383F9C #5159C0

Accessibility & contrast

On white

12.39
#282D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#282D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D6F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D6F#FFFFFF#000000##FFFFFF
##282D6F1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282d6f;
/* rgb */ color: rgb(40, 45, 111);
/* oklch */ color: oklch(33.4% 0.113 275.2);
Tailwind
colors: {
  custom: {
    50: '#6a6599',
    500: '#282d6f',
    950: '#000000',
  },
}
SCSS
$custom: #282d6f;
$custom-light: #6a6599;
$custom-dark: #000000;
JSON
{
  "hex": "#282d6f",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 235.775,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33428,
    "c": 0.11268,
    "h": 275.2
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#282D6F
secondary
#A19C51
accent
#CD51D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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