#282D63#282D63

#282D63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.094 H 275.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#282D63
RGBrgb(40, 45, 99)
HSLhsl(235, 42%, 27%)
HSVhsv(235, 60%, 39%)
CMYKcmyk(59.6%, 54.5%, 0%, 61.2%)
CIE-LABlab(20.94, 15.64, -32.76)
CIE-LCHlch(20.94, 36.31, 295.52°)
OKLaboklab(32.45% 0.0096 -0.0936)
OKLCHoklch(32.45% 0.094 275.8)
XYZxyz(4.0649, 3.2285, 12.2109)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D63 #635E28
analogous
#284B63 #282D63 #402863
triadic
#282D63 #63282D #2D6328
tetradic
#282D63 #63284B #635E28 #286340
square
#282D63 #63284B #635E28 #286340
split-complementary
#282D63 #634028 #4B6328
monochromatic
#090A16 #161937 #282D63 #3A418F #4E57B7

Accessibility & contrast

On white

12.76
#282D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#282D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D63
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D63#FFFFFF#000000##FFFFFF
##282D631.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103565
Deuteranopia (green-blind)
#063062
Tritanopia (blue-blind)
#083943
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282d63;
/* rgb */ color: rgb(40, 45, 99);
/* oklch */ color: oklch(32.4% 0.094 275.8);
Tailwind
colors: {
  custom: {
    50: '#686590',
    500: '#282d63',
    950: '#000000',
  },
}
SCSS
$custom: #282d63;
$custom-light: #686590;
$custom-dark: #000000;
JSON
{
  "hex": "#282d63",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 234.915,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.09414,
    "h": 275.8
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#282D63
secondary
#969051
accent
#C856D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282D63

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

Preview Lab → · Contrast checker → · Palette generator →

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