#282C53#282C53

#282C53 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.070 H 277.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#282C53
RGBrgb(40, 44, 83)
HSLhsl(234, 35%, 24%)
HSVhsv(234, 52%, 33%)
CMYKcmyk(51.8%, 47%, 0%, 67.5%)
CIE-LABlab(19.54, 10.51, -24.40)
CIE-LCHlch(19.54, 26.57, 293.31°)
OKLaboklab(31.04% 0.0086 -0.0691)
OKLCHoklch(31.04% 0.07 277.1)
XYZxyz(3.3366, 2.8768, 8.5614)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C53 #534F28
analogous
#284253 #282C53 #3A2853
triadic
#282C53 #53282C #2C5328
tetradic
#282C53 #532842 #534F28 #28533A
square
#282C53 #532842 #534F28 #28533A
split-complementary
#282C53 #533A28 #425328
monochromatic
#0A0B15 #14162A #282C53 #3C427C #5058A6

Accessibility & contrast

On white

13.33
#282C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C53
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C53#FFFFFF#000000##FFFFFF
##282C531.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#192E52
Tritanopia (blue-blind)
#18343B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282c53;
/* rgb */ color: rgb(40, 44, 83);
/* oklch */ color: oklch(31.0% 0.070 277.1);
Tailwind
colors: {
  custom: {
    50: '#656483',
    500: '#282c53',
    950: '#000000',
  },
}
SCSS
$custom: #282c53;
$custom-light: #656483;
$custom-dark: #000000;
JSON
{
  "hex": "#282c53",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 83
  },
  "hsl": {
    "h": 234.419,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3104,
    "c": 0.06964,
    "h": 277.1
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#282C53
secondary
#868151
accent
#C15DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #282C53

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

Preview Lab → · Contrast checker → · Palette generator →

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