#282A50#282A50

#282A50 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.068 H 279.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#282A50
RGBrgb(40, 42, 80)
HSLhsl(237, 33%, 24%)
HSVhsv(237, 50%, 31%)
CMYKcmyk(50%, 47.5%, 0%, 68.6%)
CIE-LABlab(18.74, 10.87, -23.66)
CIE-LCHlch(18.74, 26.04, 294.68°)
OKLaboklab(30.37% 0.0109 -0.067)
OKLCHoklch(30.37% 0.068 279.3)
XYZxyz(3.1506, 2.6861, 7.9403)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A50 #504E28
analogous
#283E50 #282A50 #3A2850
triadic
#282A50 #50282A #2A5028
tetradic
#282A50 #50283E #504E28 #28503A
square
#282A50 #50283E #504E28 #28503A
split-complementary
#282A50 #503A28 #3E5028
monochromatic
#0A0B14 #141527 #282A50 #3C3F79 #5155A2

Accessibility & contrast

On white

13.66
#282A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#282A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A50
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A50#FFFFFF#000000##FFFFFF
##282A501.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F51
Deuteranopia (green-blind)
#192C4F
Tritanopia (blue-blind)
#1A3239
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282a50;
/* rgb */ color: rgb(40, 42, 80);
/* oklch */ color: oklch(30.4% 0.068 279.3);
Tailwind
colors: {
  custom: {
    50: '#656381',
    500: '#282a50',
    950: '#000000',
  },
}
SCSS
$custom: #282a50;
$custom-light: #656381;
$custom-dark: #000000;
JSON
{
  "hex": "#282a50",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 237,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30366,
    "c": 0.06784,
    "h": 279.3
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#282A50
secondary
#838051
accent
#C45EC9
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #282A50

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

Preview Lab → · Contrast checker → · Palette generator →

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