#282C5F#282C5F

#282C5F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.089 H 276.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#282C5F
RGBrgb(40, 44, 95)
HSLhsl(236, 41%, 26%)
HSVhsv(236, 58%, 37%)
CMYKcmyk(57.9%, 53.7%, 0%, 62.7%)
CIE-LABlab(20.36, 14.87, -31.07)
CIE-LCHlch(20.36, 34.45, 295.58°)
OKLaboklab(31.92% 0.0104 -0.0887)
OKLCHoklch(31.92% 0.089 276.7)
XYZxyz(3.8407, 3.0785, 11.2161)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C5F #5F5B28
analogous
#28485F #282C5F #40285F
triadic
#282C5F #5F282C #2C5F28
tetradic
#282C5F #5F2848 #5F5B28 #285F40
square
#282C5F #5F2848 #5F5B28 #285F40
split-complementary
#282C5F #5F4028 #485F28
monochromatic
#090A16 #161834 #282C5F #3A408A #4D55B4

Accessibility & contrast

On white

13.00
#282C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C5F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C5F#FFFFFF#000000##FFFFFF
##282C5F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133361
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#0E3741
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282c5f;
/* rgb */ color: rgb(40, 44, 95);
/* oklch */ color: oklch(31.9% 0.089 276.7);
Tailwind
colors: {
  custom: {
    50: '#67658d',
    500: '#282c5f',
    950: '#000000',
  },
}
SCSS
$custom: #282c5f;
$custom-light: #67658d;
$custom-dark: #000000;
JSON
{
  "hex": "#282c5f",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 235.636,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31918,
    "c": 0.0893,
    "h": 276.7
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#282C5F
secondary
#928D51
accent
#C857D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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