#282E5B#282E5B

#282E5B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.080 H 275.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#282E5B
RGBrgb(40, 46, 91)
HSLhsl(233, 39%, 26%)
HSVhsv(233, 56%, 36%)
CMYKcmyk(56%, 49.5%, 0%, 64.3%)
CIE-LABlab(20.67, 11.98, -27.92)
CIE-LCHlch(20.67, 30.38, 293.23°)
OKLaboklab(32.07% 0.0073 -0.0794)
OKLCHoklch(32.07% 0.08 275.3)
XYZxyz(3.7398, 3.1602, 10.3084)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E5B #5B5528
analogous
#28475B #282E5B #3B285B
triadic
#282E5B #5B282E #2E5B28
tetradic
#282E5B #5B2847 #5B5528 #285B3B
square
#282E5B #5B2847 #5B5528 #285B3B
split-complementary
#282E5B #5B3B28 #475B28
monochromatic
#090B15 #151930 #282E5B #3B4386 #4D59B0

Accessibility & contrast

On white

12.87
#282E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#282E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E5B
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E5B#FFFFFF#000000##FFFFFF
##282E5B1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A345D
Deuteranopia (green-blind)
#15305A
Tritanopia (blue-blind)
#123840
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282e5b;
/* rgb */ color: rgb(40, 46, 91);
/* oklch */ color: oklch(32.1% 0.080 275.3);
Tailwind
colors: {
  custom: {
    50: '#66668a',
    500: '#282e5b',
    950: '#000000',
  },
}
SCSS
$custom: #282e5b;
$custom-light: #66668a;
$custom-dark: #000000;
JSON
{
  "hex": "#282e5b",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 232.941,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.07974,
    "h": 275.3
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#282E5B
secondary
#8E8751
accent
#C159CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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