#282950#282950

#282950 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.069 H 280.3°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#282950
RGBrgb(40, 41, 80)
HSLhsl(239, 33%, 24%)
HSVhsv(239, 50%, 31%)
CMYKcmyk(50%, 48.8%, 0%, 68.6%)
CIE-LABlab(18.44, 11.59, -24.15)
CIE-LCHlch(18.44, 26.78, 295.64°)
OKLaboklab(30.13% 0.0124 -0.0684)
OKLCHoklch(30.13% 0.069 280.3)
XYZxyz(3.1155, 2.6160, 7.9286)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282950 #504F28
analogous
#283D50 #282950 #3B2850
triadic
#282950 #502829 #295028
tetradic
#282950 #50283D #504F28 #28503B
square
#282950 #50283D #504F28 #28503B
split-complementary
#282950 #503B28 #3D5028
monochromatic
#0A0A14 #141427 #282950 #3C3E79 #5153A2

Accessibility & contrast

On white

13.79
#282950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#282950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282950
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282950#FFFFFF#000000##FFFFFF
##2829501.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E51
Deuteranopia (green-blind)
#172B4F
Tritanopia (blue-blind)
#1A3138
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282950;
/* rgb */ color: rgb(40, 41, 80);
/* oklch */ color: oklch(30.1% 0.069 280.3);
Tailwind
colors: {
  custom: {
    50: '#656281',
    500: '#282950',
    950: '#000000',
  },
}
SCSS
$custom: #282950;
$custom-light: #656281;
$custom-dark: #000000;
JSON
{
  "hex": "#282950",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 80
  },
  "hsl": {
    "h": 238.5,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30134,
    "c": 0.06949,
    "h": 280.3
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#282950
secondary
#838151
accent
#C75EC9
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #282950

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

Preview Lab → · Contrast checker → · Palette generator →

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