#282E6B#282E6B

#282E6B is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.105 H 274.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#282E6B
RGBrgb(40, 46, 107)
HSLhsl(235, 46%, 29%)
HSVhsv(235, 63%, 42%)
CMYKcmyk(62.6%, 57%, 0%, 58%)
CIE-LABlab(21.82, 17.92, -36.54)
CIE-LCHlch(21.82, 40.70, 296.13°)
OKLaboklab(33.31% 0.009 -0.1047)
OKLCHoklch(33.31% 0.105 274.9)
XYZxyz(4.5050, 3.4663, 14.3387)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E6B #6B6528
analogous
#28506B #282E6B #44286B
triadic
#282E6B #6B282E #2E6B28
tetradic
#282E6B #6B2850 #6B6528 #286B44
square
#282E6B #6B2850 #6B6528 #286B44
split-complementary
#282E6B #6B4428 #506B28
monochromatic
#080A16 #171B3E #282E6B #394198 #505ABE

Accessibility & contrast

On white

12.40
#282E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#282E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E6B
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E6B#FFFFFF#000000##FFFFFF
##282E6B1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282e6b;
/* rgb */ color: rgb(40, 46, 107);
/* oklch */ color: oklch(33.3% 0.105 274.9);
Tailwind
colors: {
  custom: {
    50: '#696696',
    500: '#282e6b',
    950: '#000000',
  },
}
SCSS
$custom: #282e6b;
$custom-light: #696696;
$custom-dark: #000000;
JSON
{
  "hex": "#282e6b",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 234.627,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.10514,
    "h": 274.9
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#282E6B
secondary
#9D9751
accent
#CA53D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #282E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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