#282E6E#282E6E

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

Color values

HEX#282E6E
RGBrgb(40, 46, 110)
HSLhsl(235, 47%, 29%)
HSVhsv(235, 64%, 43%)
CMYKcmyk(63.6%, 58.2%, 0%, 56.9%)
CIE-LABlab(22.05, 19.05, -38.10)
CIE-LCHlch(22.05, 42.60, 296.56°)
OKLaboklab(33.55% 0.0092 -0.1093)
OKLCHoklch(33.55% 0.11 274.8)
XYZxyz(4.6656, 3.5305, 15.1844)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E6E #6E6828
analogous
#28516E #282E6E #45286E
triadic
#282E6E #6E282E #2E6E28
tetradic
#282E6E #6E2851 #6E6828 #286E45
square
#282E6E #6E2851 #6E6828 #286E45
split-complementary
#282E6E #6E4528 #516E28
monochromatic
#080916 #181B41 #282E6E #38419B #515AC0

Accessibility & contrast

On white

12.31
#282E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#282E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E6E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E6E#FFFFFF#000000##FFFFFF
##282E6E1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282e6e;
/* rgb */ color: rgb(40, 46, 110);
/* oklch */ color: oklch(33.6% 0.110 274.8);
Tailwind
colors: {
  custom: {
    50: '#6a6698',
    500: '#282e6e',
    950: '#000000',
  },
}
SCSS
$custom: #282e6e;
$custom-light: #6a6698;
$custom-dark: #000000;
JSON
{
  "hex": "#282e6e",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 234.857,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.10973,
    "h": 274.8
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#282E6E
secondary
#A09A51
accent
#CB51D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #282E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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