#282D70#282D70

#282D70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.114 H 275.2°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#282D70
RGBrgb(40, 45, 112)
HSLhsl(236, 47%, 30%)
HSVhsv(236, 64%, 44%)
CMYKcmyk(64.3%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.93, 20.49, -39.59)
CIE-LCHlch(21.93, 44.57, 297.37°)
OKLaboklab(33.51% 0.0103 -0.1137)
OKLCHoklch(33.51% 0.114 275.2)
XYZxyz(4.7371, 3.4974, 15.7515)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D70 #706B28
analogous
#285170 #282D70 #472870
triadic
#282D70 #70282D #2D7028
tetradic
#282D70 #702851 #706B28 #287047
square
#282D70 #702851 #706B28 #287047
split-complementary
#282D70 #704728 #517028
monochromatic
#080917 #181B43 #282D70 #383F9D #5159C1

Accessibility & contrast

On white

12.36
#282D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#282D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D70
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D70#FFFFFF#000000##FFFFFF
##282D701.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282d70;
/* rgb */ color: rgb(40, 45, 112);
/* oklch */ color: oklch(33.5% 0.114 275.2);
Tailwind
colors: {
  custom: {
    50: '#6a659a',
    500: '#282d70',
    950: '#000000',
  },
}
SCSS
$custom: #282d70;
$custom-light: #6a659a;
$custom-dark: #000000;
JSON
{
  "hex": "#282d70",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 235.833,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33513,
    "c": 0.11418,
    "h": 275.2
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#282D70
secondary
#A29D51
accent
#CE51D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282D70

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

Preview Lab → · Contrast checker → · Palette generator →

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