#282E56#282E56

#282E56 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.071 H 275.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#282E56
RGBrgb(40, 46, 86)
HSLhsl(232, 37%, 25%)
HSVhsv(232, 53%, 34%)
CMYKcmyk(53.5%, 46.5%, 0%, 66.3%)
CIE-LABlab(20.35, 10.16, -25.12)
CIE-LCHlch(20.35, 27.10, 292.03°)
OKLaboklab(31.72% 0.0064 -0.0712)
OKLCHoklch(31.72% 0.072 275.1)
XYZxyz(3.5313, 3.0768, 9.2101)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E56 #565028
analogous
#284556 #282E56 #392856
triadic
#282E56 #56282E #2E5628
tetradic
#282E56 #562845 #565028 #285639
square
#282E56 #562845 #565028 #285639
split-complementary
#282E56 #563928 #455628
monochromatic
#0A0B15 #15182C #282E56 #3B4480 #4F5BAA

Accessibility & contrast

On white

13.00
#282E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E56
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E56#FFFFFF#000000##FFFFFF
##282E561.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3358
Deuteranopia (green-blind)
#1A2F55
Tritanopia (blue-blind)
#16363D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282e56;
/* rgb */ color: rgb(40, 46, 86);
/* oklch */ color: oklch(31.7% 0.071 275.1);
Tailwind
colors: {
  custom: {
    50: '#656686',
    500: '#282e56',
    950: '#000000',
  },
}
SCSS
$custom: #282e56;
$custom-light: #656686;
$custom-dark: #000000;
JSON
{
  "hex": "#282e56",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 232.174,
    "s": 36.508,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31717,
    "c": 0.0715,
    "h": 275.1
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#282E56
secondary
#898151
accent
#BE5BCD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282E56

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

Preview Lab → · Contrast checker → · Palette generator →

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