#282D56#282D56

#282D56 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.073 H 276.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#282D56
RGBrgb(40, 45, 86)
HSLhsl(233, 37%, 25%)
HSVhsv(233, 53%, 34%)
CMYKcmyk(53.5%, 47.7%, 0%, 66.3%)
CIE-LABlab(20.04, 10.87, -25.61)
CIE-LCHlch(20.04, 27.82, 293.01°)
OKLaboklab(31.48% 0.0078 -0.0726)
OKLCHoklch(31.48% 0.073 276.1)
XYZxyz(3.4926, 2.9996, 9.1972)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D56 #565128
analogous
#284456 #282D56 #3A2856
triadic
#282D56 #56282D #2D5628
tetradic
#282D56 #562844 #565128 #28563A
square
#282D56 #562844 #565128 #28563A
split-complementary
#282D56 #563A28 #445628
monochromatic
#0A0B15 #15172C #282D56 #3B4380 #4F59AA

Accessibility & contrast

On white

13.13
#282D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#282D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D56
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D56#FFFFFF#000000##FFFFFF
##282D561.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3258
Deuteranopia (green-blind)
#182F55
Tritanopia (blue-blind)
#16363D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282d56;
/* rgb */ color: rgb(40, 45, 86);
/* oklch */ color: oklch(31.5% 0.073 276.1);
Tailwind
colors: {
  custom: {
    50: '#656586',
    500: '#282d56',
    950: '#000000',
  },
}
SCSS
$custom: #282d56;
$custom-light: #656586;
$custom-dark: #000000;
JSON
{
  "hex": "#282d56",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 233.478,
    "s": 36.508,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.07306,
    "h": 276.1
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#282D56
secondary
#898351
accent
#C05BCD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282D56

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

Preview Lab → · Contrast checker → · Palette generator →

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