#282951#282951

#282951 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.071 H 280.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#282951
RGBrgb(40, 41, 81)
HSLhsl(239, 34%, 24%)
HSVhsv(239, 51%, 32%)
CMYKcmyk(50.6%, 49.4%, 0%, 68.2%)
CIE-LABlab(18.50, 11.94, -24.72)
CIE-LCHlch(18.50, 27.45, 295.79°)
OKLaboklab(30.21% 0.0126 -0.07)
OKLCHoklch(30.21% 0.071 280.2)
XYZxyz(3.1528, 2.6309, 8.1247)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282951 #515028
analogous
#283D51 #282951 #3B2851
triadic
#282951 #512829 #295128
tetradic
#282951 #51283D #515028 #28513B
square
#282951 #51283D #515028 #28513B
split-complementary
#282951 #513B28 #3D5128
monochromatic
#0A0A14 #141428 #282951 #3C3E7A #5052A3

Accessibility & contrast

On white

13.76
#282951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#282951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282951
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282951#FFFFFF#000000##FFFFFF
##2829511.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F52
Deuteranopia (green-blind)
#162C50
Tritanopia (blue-blind)
#1A3139
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282951;
/* rgb */ color: rgb(40, 41, 81);
/* oklch */ color: oklch(30.2% 0.071 280.2);
Tailwind
colors: {
  custom: {
    50: '#656282',
    500: '#282951',
    950: '#000000',
  },
}
SCSS
$custom: #282951;
$custom-light: #656282;
$custom-dark: #000000;
JSON
{
  "hex": "#282951",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 238.537,
    "s": 33.884,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30205,
    "c": 0.07117,
    "h": 280.2
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#282951
secondary
#848251
accent
#C75ECA
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #282951

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

Preview Lab → · Contrast checker → · Palette generator →

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