#282C46#282C46

#282C46 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.2% C 0.047 H 276.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#282C46
RGBrgb(40, 44, 70)
HSLhsl(232, 27%, 22%)
HSVhsv(232, 43%, 27%)
CMYKcmyk(42.9%, 37.1%, 0%, 72.5%)
CIE-LABlab(18.78, 6.00, -16.82)
CIE-LCHlch(18.78, 17.86, 289.61°)
OKLaboklab(30.2% 0.0054 -0.047)
OKLCHoklch(30.2% 0.047 276.5)
XYZxyz(2.8809, 2.6946, 6.1615)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C46 #464228
analogous
#283B46 #282C46 #332846
triadic
#282C46 #46282C #2C4628
tetradic
#282C46 #46283B #464228 #284633
square
#282C46 #46283B #464228 #284633
split-complementary
#282C46 #463328 #3B4628
monochromatic
#0B0C13 #12141F #282C46 #3E446D #555D94

Accessibility & contrast

On white

13.65
#282C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#282C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C46
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C46#FFFFFF#000000##FFFFFF
##282C461.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F47
Deuteranopia (green-blind)
#212D45
Tritanopia (blue-blind)
#1F3135
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282c46;
/* rgb */ color: rgb(40, 44, 70);
/* oklch */ color: oklch(30.2% 0.047 276.5);
Tailwind
colors: {
  custom: {
    50: '#636479',
    500: '#282c46',
    950: '#000000',
  },
}
SCSS
$custom: #282c46;
$custom-light: #636479;
$custom-dark: #000000;
JSON
{
  "hex": "#282c46",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 232,
    "s": 27.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30201,
    "c": 0.04735,
    "h": 276.5
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#282C46
secondary
#787352
accent
#B764C4
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050509
muted
#797A7B

Preview Lab

Preview with #282C46

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

Preview Lab → · Contrast checker → · Palette generator →

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