#282E6A#282E6A

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

Color values

HEX#282E6A
RGBrgb(40, 46, 106)
HSLhsl(235, 45%, 29%)
HSVhsv(235, 62%, 42%)
CMYKcmyk(62.3%, 56.6%, 0%, 58.4%)
CIE-LABlab(21.75, 17.55, -36.02)
CIE-LCHlch(21.75, 40.06, 295.97°)
OKLaboklab(33.22% 0.009 -0.1032)
OKLCHoklch(33.22% 0.104 275)
XYZxyz(4.4527, 3.4454, 14.0633)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E6A #6A6428
analogous
#284F6A #282E6A #43286A
triadic
#282E6A #6A282E #2E6A28
tetradic
#282E6A #6A284F #6A6428 #286A43
square
#282E6A #6A284F #6A6428 #286A43
split-complementary
#282E6A #6A4328 #4F6A28
monochromatic
#080A16 #171B3E #282E6A #394196 #505ABD

Accessibility & contrast

On white

12.43
#282E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E6A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E6A#FFFFFF#000000##FFFFFF
##282E6A1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282e6a;
/* rgb */ color: rgb(40, 46, 106);
/* oklch */ color: oklch(33.2% 0.104 275.0);
Tailwind
colors: {
  custom: {
    50: '#696695',
    500: '#282e6a',
    950: '#000000',
  },
}
SCSS
$custom: #282e6a;
$custom-light: #696695;
$custom-dark: #000000;
JSON
{
  "hex": "#282e6a",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 234.545,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33223,
    "c": 0.1036,
    "h": 275
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#282E6A
secondary
#9D9651
accent
#C953D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #282E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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