#282D6A#282D6A

#282D6A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.105 H 275.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#282D6A
RGBrgb(40, 45, 106)
HSLhsl(235, 45%, 29%)
HSVhsv(235, 62%, 42%)
CMYKcmyk(62.3%, 57.5%, 0%, 58.4%)
CIE-LABlab(21.46, 18.25, -36.48)
CIE-LCHlch(21.46, 40.79, 296.58°)
OKLaboklab(33.01% 0.0101 -0.1046)
OKLCHoklch(33.01% 0.105 275.5)
XYZxyz(4.4141, 3.3682, 14.0504)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D6A #6A6528
analogous
#284E6A #282D6A #44286A
triadic
#282D6A #6A282D #2D6A28
tetradic
#282D6A #6A284E #6A6528 #286A44
square
#282D6A #6A284E #6A6528 #286A44
split-complementary
#282D6A #6A4428 #4E6A28
monochromatic
#080916 #171A3E #282D6A #394096 #5058BD

Accessibility & contrast

On white

12.55
#282D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D6A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D6A#FFFFFF#000000##FFFFFF
##282D6A1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04366C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282d6a;
/* rgb */ color: rgb(40, 45, 106);
/* oklch */ color: oklch(33.0% 0.105 275.5);
Tailwind
colors: {
  custom: {
    50: '#696595',
    500: '#282d6a',
    950: '#000000',
  },
}
SCSS
$custom: #282d6a;
$custom-light: #696595;
$custom-dark: #000000;
JSON
{
  "hex": "#282d6a",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 235.455,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33011,
    "c": 0.10506,
    "h": 275.5
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#282D6A
secondary
#9D9751
accent
#CB53D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #282D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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