#282954#282954

#282954 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.076 H 279.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#282954
RGBrgb(40, 41, 84)
HSLhsl(239, 35%, 24%)
HSVhsv(239, 52%, 33%)
CMYKcmyk(52.4%, 51.2%, 0%, 67.1%)
CIE-LABlab(18.70, 13.01, -26.41)
CIE-LCHlch(18.70, 29.45, 296.23°)
OKLaboklab(30.42% 0.013 -0.075)
OKLCHoklch(30.42% 0.076 279.9)
XYZxyz(3.2678, 2.6769, 8.7303)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282954 #545328
analogous
#283F54 #282954 #3D2854
triadic
#282954 #542829 #295428
tetradic
#282954 #54283F #545328 #28543D
square
#282954 #54283F #545328 #28543D
split-complementary
#282954 #543D28 #3F5428
monochromatic
#0A0A15 #14152B #282954 #3C3D7D #4F51A7

Accessibility & contrast

On white

13.68
#282954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#282954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282954
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282954#FFFFFF#000000##FFFFFF
##2829541.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F56
Deuteranopia (green-blind)
#132C53
Tritanopia (blue-blind)
#18323A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282954;
/* rgb */ color: rgb(40, 41, 84);
/* oklch */ color: oklch(30.4% 0.076 279.9);
Tailwind
colors: {
  custom: {
    50: '#656284',
    500: '#282954',
    950: '#000000',
  },
}
SCSS
$custom: #282954;
$custom-light: #656284;
$custom-dark: #000000;
JSON
{
  "hex": "#282954",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 238.636,
    "s": 35.484,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30421,
    "c": 0.07615,
    "h": 279.9
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#282954
secondary
#878551
accent
#C95CCC
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282954

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

Preview Lab → · Contrast checker → · Palette generator →

#282954 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva