#282D65#282D65

#282D65 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.097 H 275.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#282D65
RGBrgb(40, 45, 101)
HSLhsl(235, 43%, 28%)
HSVhsv(235, 60%, 40%)
CMYKcmyk(60.4%, 55.4%, 0%, 60.4%)
CIE-LABlab(21.08, 16.39, -33.83)
CIE-LCHlch(21.08, 37.59, 295.84°)
OKLaboklab(32.61% 0.0098 -0.0968)
OKLCHoklch(32.61% 0.097 275.8)
XYZxyz(4.1617, 3.2672, 12.7207)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D65 #656028
analogous
#284B65 #282D65 #412865
triadic
#282D65 #65282D #2D6528
tetradic
#282D65 #65284B #656028 #286541
square
#282D65 #65284B #656028 #286541
split-complementary
#282D65 #654128 #4B6528
monochromatic
#090A16 #171939 #282D65 #394191 #4E57B9

Accessibility & contrast

On white

12.70
#282D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282D65
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D65#FFFFFF#000000##FFFFFF
##282D651.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3567
Deuteranopia (green-blind)
#023064
Tritanopia (blue-blind)
#043A44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282d65;
/* rgb */ color: rgb(40, 45, 101);
/* oklch */ color: oklch(32.6% 0.097 275.8);
Tailwind
colors: {
  custom: {
    50: '#686591',
    500: '#282d65',
    950: '#000000',
  },
}
SCSS
$custom: #282d65;
$custom-light: #686591;
$custom-dark: #000000;
JSON
{
  "hex": "#282d65",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 235.082,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32606,
    "c": 0.09729,
    "h": 275.8
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#282D65
secondary
#989251
accent
#C955D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #282D65

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

Preview Lab → · Contrast checker → · Palette generator →

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