#282C50#282C50

#282C50 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.065 H 277.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#282C50
RGBrgb(40, 44, 80)
HSLhsl(234, 33%, 24%)
HSVhsv(234, 50%, 31%)
CMYKcmyk(50%, 45%, 0%, 68.6%)
CIE-LABlab(19.36, 9.45, -22.68)
CIE-LCHlch(19.36, 24.57, 292.61°)
OKLaboklab(30.84% 0.008 -0.0641)
OKLCHoklch(30.84% 0.065 277.1)
XYZxyz(3.2233, 2.8315, 7.9646)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C50 #504C28
analogous
#284050 #282C50 #382850
triadic
#282C50 #50282C #2C5028
tetradic
#282C50 #502840 #504C28 #285038
square
#282C50 #502840 #504C28 #285038
split-complementary
#282C50 #503828 #405028
monochromatic
#0A0B14 #141627 #282C50 #3C4279 #5159A2

Accessibility & contrast

On white

13.41
#282C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#282C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C50
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C50#FFFFFF#000000##FFFFFF
##282C501.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3151
Deuteranopia (green-blind)
#1B2D4F
Tritanopia (blue-blind)
#1A333A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282c50;
/* rgb */ color: rgb(40, 44, 80);
/* oklch */ color: oklch(30.8% 0.065 277.1);
Tailwind
colors: {
  custom: {
    50: '#646481',
    500: '#282c50',
    950: '#000000',
  },
}
SCSS
$custom: #282c50;
$custom-light: #646481;
$custom-dark: #000000;
JSON
{
  "hex": "#282c50",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 80
  },
  "hsl": {
    "h": 234,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30836,
    "c": 0.06459,
    "h": 277.1
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#282C50
secondary
#837E51
accent
#BF5EC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #282C50

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

Preview Lab → · Contrast checker → · Palette generator →

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