#282E6D#282E6D

#282E6D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.108 H 274.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#282E6D
RGBrgb(40, 46, 109)
HSLhsl(235, 46%, 29%)
HSVhsv(235, 63%, 43%)
CMYKcmyk(63.3%, 57.8%, 0%, 57.3%)
CIE-LABlab(21.98, 18.67, -37.59)
CIE-LCHlch(21.98, 41.97, 296.42°)
OKLaboklab(33.47% 0.0091 -0.1078)
OKLCHoklch(33.47% 0.108 274.8)
XYZxyz(4.6115, 3.5089, 14.8993)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E6D #6D6728
analogous
#28516D #282E6D #45286D
triadic
#282E6D #6D282E #2E6D28
tetradic
#282E6D #6D2851 #6D6728 #286D45
square
#282E6D #6D2851 #6D6728 #286D45
split-complementary
#282E6D #6D4528 #516D28
monochromatic
#080916 #181B40 #282E6D #38419A #505ABF

Accessibility & contrast

On white

12.34
#282E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E6D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E6D#FFFFFF#000000##FFFFFF
##282E6D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02386F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282e6d;
/* rgb */ color: rgb(40, 46, 109);
/* oklch */ color: oklch(33.5% 0.108 274.8);
Tailwind
colors: {
  custom: {
    50: '#6a6697',
    500: '#282e6d',
    950: '#000000',
  },
}
SCSS
$custom: #282e6d;
$custom-light: #6a6697;
$custom-dark: #000000;
JSON
{
  "hex": "#282e6d",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 234.783,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33469,
    "c": 0.10821,
    "h": 274.8
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#282E6D
secondary
#9F9951
accent
#CA52D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #282E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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