#282D4E#282D4E

#282D4E is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.060 H 275.8°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#282D4E
RGBrgb(40, 45, 78)
HSLhsl(232, 32%, 23%)
HSVhsv(232, 49%, 31%)
CMYKcmyk(48.7%, 42.3%, 0%, 69.4%)
CIE-LABlab(19.55, 8.03, -21.04)
CIE-LCHlch(19.55, 22.52, 290.89°)
OKLaboklab(30.94% 0.006 -0.0593)
OKLCHoklch(30.94% 0.06 275.8)
XYZxyz(3.1882, 2.8778, 7.5937)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D4E #4E4928
analogous
#28404E #282D4E #36284E
triadic
#282D4E #4E282D #2D4E28
tetradic
#282D4E #4E2840 #4E4928 #284E36
square
#282D4E #4E2840 #4E4928 #284E36
split-complementary
#282D4E #4E3628 #404E28
monochromatic
#0A0C14 #131626 #282D4E #3D4476 #515C9F

Accessibility & contrast

On white

13.33
#282D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D4E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D4E#FFFFFF#000000##FFFFFF
##282D4E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#1B3439
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282d4e;
/* rgb */ color: rgb(40, 45, 78);
/* oklch */ color: oklch(30.9% 0.060 275.8);
Tailwind
colors: {
  custom: {
    50: '#646580',
    500: '#282d4e',
    950: '#000000',
  },
}
SCSS
$custom: #282d4e;
$custom-light: #646580;
$custom-dark: #000000;
JSON
{
  "hex": "#282d4e",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 232.105,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30943,
    "c": 0.05958,
    "h": 275.8
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#282D4E
secondary
#817A51
accent
#BB5FC8
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #282D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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