#282D54#282D54

#282D54 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.070 H 276.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#282D54
RGBrgb(40, 45, 84)
HSLhsl(233, 35%, 24%)
HSVhsv(233, 52%, 33%)
CMYKcmyk(52.4%, 46.4%, 0%, 67.1%)
CIE-LABlab(19.91, 10.16, -24.48)
CIE-LCHlch(19.91, 26.50, 292.53°)
OKLaboklab(31.34% 0.0074 -0.0693)
OKLCHoklch(31.34% 0.07 276.1)
XYZxyz(3.4132, 2.9678, 8.7788)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D54 #544F28
analogous
#284354 #282D54 #392854
triadic
#282D54 #54282D #2D5428
tetradic
#282D54 #542843 #544F28 #285439
square
#282D54 #542843 #544F28 #285439
split-complementary
#282D54 #543928 #435428
monochromatic
#0A0B15 #14172B #282D54 #3C437D #4F59A7

Accessibility & contrast

On white

13.18
#282D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D54
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D54#FFFFFF#000000##FFFFFF
##282D541.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3255
Deuteranopia (green-blind)
#1A2E53
Tritanopia (blue-blind)
#17353C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282d54;
/* rgb */ color: rgb(40, 45, 84);
/* oklch */ color: oklch(31.3% 0.070 276.1);
Tailwind
colors: {
  custom: {
    50: '#656584',
    500: '#282d54',
    950: '#000000',
  },
}
SCSS
$custom: #282d54;
$custom-light: #656584;
$custom-dark: #000000;
JSON
{
  "hex": "#282d54",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 233.182,
    "s": 35.484,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31344,
    "c": 0.06972,
    "h": 276.1
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#282D54
secondary
#878151
accent
#BF5CCC
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282D54

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

Preview Lab → · Contrast checker → · Palette generator →

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