#282E54#282E54

#282E54 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.068 H 275.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#282E54
RGBrgb(40, 46, 84)
HSLhsl(232, 35%, 24%)
HSVhsv(232, 52%, 33%)
CMYKcmyk(52.4%, 45.2%, 0%, 67.1%)
CIE-LABlab(20.22, 9.44, -23.99)
CIE-LCHlch(20.22, 25.78, 291.49°)
OKLaboklab(31.58% 0.006 -0.0679)
OKLCHoklch(31.58% 0.068 275)
XYZxyz(3.4518, 3.0450, 8.7916)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E54 #544E28
analogous
#284454 #282E54 #382854
triadic
#282E54 #54282E #2E5428
tetradic
#282E54 #542844 #544E28 #285438
square
#282E54 #542844 #544E28 #285438
split-complementary
#282E54 #543828 #445428
monochromatic
#0A0B15 #14172B #282E54 #3C457D #4F5BA7

Accessibility & contrast

On white

13.05
#282E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E54
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E54#FFFFFF#000000##FFFFFF
##282E541.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3355
Deuteranopia (green-blind)
#1B2F53
Tritanopia (blue-blind)
#17363D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282e54;
/* rgb */ color: rgb(40, 46, 84);
/* oklch */ color: oklch(31.6% 0.068 275.0);
Tailwind
colors: {
  custom: {
    50: '#656684',
    500: '#282e54',
    950: '#000000',
  },
}
SCSS
$custom: #282e54;
$custom-light: #656684;
$custom-dark: #000000;
JSON
{
  "hex": "#282e54",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 231.818,
    "s": 35.484,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3158,
    "c": 0.06815,
    "h": 275
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#282E54
secondary
#877F51
accent
#BC5CCC
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282E54

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

Preview Lab → · Contrast checker → · Palette generator →

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