#282E50#282E50

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

Color values

HEX#282E50
RGBrgb(40, 46, 80)
HSLhsl(231, 33%, 24%)
HSVhsv(231, 50%, 31%)
CMYKcmyk(50%, 42.5%, 0%, 68.6%)
CIE-LABlab(19.98, 8.02, -21.70)
CIE-LCHlch(19.98, 23.13, 290.29°)
OKLaboklab(31.31% 0.0051 -0.0612)
OKLCHoklch(31.31% 0.061 274.7)
XYZxyz(3.2996, 2.9841, 7.9900)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E50 #504A28
analogous
#284250 #282E50 #362850
triadic
#282E50 #50282E #2E5028
tetradic
#282E50 #502842 #504A28 #285036
square
#282E50 #502842 #504A28 #285036
split-complementary
#282E50 #503628 #425028
monochromatic
#0A0C14 #141727 #282E50 #3C4579 #515DA2

Accessibility & contrast

On white

13.15
#282E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#282E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E50
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E50#FFFFFF#000000##FFFFFF
##282E501.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213251
Deuteranopia (green-blind)
#1E2F4F
Tritanopia (blue-blind)
#1A353B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282e50;
/* rgb */ color: rgb(40, 46, 80);
/* oklch */ color: oklch(31.3% 0.061 274.7);
Tailwind
colors: {
  custom: {
    50: '#646681',
    500: '#282e50',
    950: '#000000',
  },
}
SCSS
$custom: #282e50;
$custom-light: #646681;
$custom-dark: #000000;
JSON
{
  "hex": "#282e50",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 231,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31314,
    "c": 0.0614,
    "h": 274.7
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#282E50
secondary
#837B51
accent
#B95EC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #282E50

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

Preview Lab → · Contrast checker → · Palette generator →

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