#282C5D#282C5D

#282C5D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.086 H 276.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#282C5D
RGBrgb(40, 44, 93)
HSLhsl(235, 40%, 26%)
HSVhsv(235, 57%, 36%)
CMYKcmyk(57%, 52.7%, 0%, 63.5%)
CIE-LABlab(20.21, 14.14, -29.98)
CIE-LCHlch(20.21, 33.15, 295.24°)
OKLaboklab(31.77% 0.0102 -0.0855)
OKLCHoklch(31.77% 0.086 276.8)
XYZxyz(3.7509, 3.0426, 10.7434)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C5D #5D5928
analogous
#28465D #282C5D #3E285D
triadic
#282C5D #5D282C #2C5D28
tetradic
#282C5D #5D2846 #5D5928 #285D3E
square
#282C5D #5D2846 #5D5928 #285D3E
split-complementary
#282C5D #5D3E28 #465D28
monochromatic
#090A15 #161832 #282C5D #3A4088 #4D55B2

Accessibility & contrast

On white

13.05
#282C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C5D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C5D#FFFFFF#000000##FFFFFF
##282C5D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#0E2F5C
Tritanopia (blue-blind)
#103740
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282c5d;
/* rgb */ color: rgb(40, 44, 93);
/* oklch */ color: oklch(31.8% 0.086 276.8);
Tailwind
colors: {
  custom: {
    50: '#67658b',
    500: '#282c5d',
    950: '#000000',
  },
}
SCSS
$custom: #282c5d;
$custom-light: #67658b;
$custom-dark: #000000;
JSON
{
  "hex": "#282c5d",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 235.472,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31765,
    "c": 0.08609,
    "h": 276.8
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#282C5D
secondary
#908B51
accent
#C758D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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