#282D52#282D52

#282D52 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.066 H 276.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#282D52
RGBrgb(40, 45, 82)
HSLhsl(233, 34%, 24%)
HSVhsv(233, 51%, 32%)
CMYKcmyk(51.2%, 45.1%, 0%, 67.8%)
CIE-LABlab(19.79, 9.44, -23.34)
CIE-LCHlch(19.79, 25.18, 292.02°)
OKLaboklab(31.21% 0.007 -0.066)
OKLCHoklch(31.21% 0.066 276)
XYZxyz(3.3360, 2.9369, 8.3721)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D52 #524D28
analogous
#284252 #282D52 #382852
triadic
#282D52 #52282D #2D5228
tetradic
#282D52 #522842 #524D28 #285238
square
#282D52 #522842 #524D28 #285238
split-complementary
#282D52 #523828 #425228
monochromatic
#0A0B15 #141629 #282D52 #3C447B #505AA4

Accessibility & contrast

On white

13.23
#282D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#282D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D52
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D52#FFFFFF#000000##FFFFFF
##282D521.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3253
Deuteranopia (green-blind)
#1B2E51
Tritanopia (blue-blind)
#19353B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282d52;
/* rgb */ color: rgb(40, 45, 82);
/* oklch */ color: oklch(31.2% 0.066 276.0);
Tailwind
colors: {
  custom: {
    50: '#656583',
    500: '#282d52',
    950: '#000000',
  },
}
SCSS
$custom: #282d52;
$custom-light: #656583;
$custom-dark: #000000;
JSON
{
  "hex": "#282d52",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 232.857,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.06637,
    "h": 276
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#282D52
secondary
#857F51
accent
#BE5DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #282D52

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

Preview Lab → · Contrast checker → · Palette generator →

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