#282E4E#282E4E

#282E4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.058 H 274.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#282E4E
RGBrgb(40, 46, 78)
HSLhsl(231, 32%, 23%)
HSVhsv(231, 49%, 31%)
CMYKcmyk(48.7%, 41%, 0%, 69.4%)
CIE-LABlab(19.86, 7.32, -20.54)
CIE-LCHlch(19.86, 21.80, 289.62°)
OKLaboklab(31.19% 0.0045 -0.0578)
OKLCHoklch(31.19% 0.058 274.5)
XYZxyz(3.2268, 2.9550, 7.6066)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E4E #4E4828
analogous
#28414E #282E4E #35284E
triadic
#282E4E #4E282E #2E4E28
tetradic
#282E4E #4E2841 #4E4828 #284E35
square
#282E4E #4E2841 #4E4828 #284E35
split-complementary
#282E4E #4E3528 #414E28
monochromatic
#0A0C14 #131626 #282E4E #3D4676 #515E9F

Accessibility & contrast

On white

13.20
#282E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#282E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E4E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E4E#FFFFFF#000000##FFFFFF
##282E4E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#1F2F4D
Tritanopia (blue-blind)
#1B353A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282e4e;
/* rgb */ color: rgb(40, 46, 78);
/* oklch */ color: oklch(31.2% 0.058 274.5);
Tailwind
colors: {
  custom: {
    50: '#64667f',
    500: '#282e4e',
    950: '#000000',
  },
}
SCSS
$custom: #282e4e;
$custom-light: #64667f;
$custom-dark: #000000;
JSON
{
  "hex": "#282e4e",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 230.526,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31185,
    "c": 0.058,
    "h": 274.5
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#282E4E
secondary
#817951
accent
#B85FC8
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #282E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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