#282C6F#282C6F

#282C6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.114 H 275.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#282C6F
RGBrgb(40, 44, 111)
HSLhsl(237, 47%, 30%)
HSVhsv(237, 64%, 44%)
CMYKcmyk(64%, 60.4%, 0%, 56.5%)
CIE-LABlab(21.58, 20.81, -39.52)
CIE-LCHlch(21.58, 44.67, 297.78°)
OKLaboklab(33.22% 0.0113 -0.1135)
OKLCHoklch(33.22% 0.114 275.7)
XYZxyz(4.6441, 3.3998, 15.4473)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C6F #6F6B28
analogous
#28506F #282C6F #48286F
triadic
#282C6F #6F282C #2C6F28
tetradic
#282C6F #6F2850 #6F6B28 #286F48
square
#282C6F #6F2850 #6F6B28 #286F48
split-complementary
#282C6F #6F4828 #506F28
monochromatic
#080916 #181A42 #282C6F #383E9C #5157C0

Accessibility & contrast

On white

12.50
#282C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#282C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C6F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C6F#FFFFFF#000000##FFFFFF
##282C6F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c6f;
/* rgb */ color: rgb(40, 44, 111);
/* oklch */ color: oklch(33.2% 0.114 275.7);
Tailwind
colors: {
  custom: {
    50: '#6a6599',
    500: '#282c6f',
    950: '#000000',
  },
}
SCSS
$custom: #282c6f;
$custom-light: #6a6599;
$custom-dark: #000000;
JSON
{
  "hex": "#282c6f",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 236.62,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33223,
    "c": 0.11409,
    "h": 275.7
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#282C6F
secondary
#A19D51
accent
#CF51D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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