#282B66#282B66

#282B66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.102 H 276.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#282B66
RGBrgb(40, 43, 102)
HSLhsl(237, 44%, 28%)
HSVhsv(237, 61%, 40%)
CMYKcmyk(60.8%, 57.8%, 0%, 60%)
CIE-LABlab(20.59, 18.17, -35.29)
CIE-LCHlch(20.59, 39.69, 297.24°)
OKLaboklab(32.26% 0.0122 -0.1011)
OKLCHoklch(32.26% 0.102 276.9)
XYZxyz(4.1365, 3.1379, 12.9555)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B66 #666328
analogous
#284A66 #282B66 #442866
triadic
#282B66 #66282B #2B6628
tetradic
#282B66 #66284A #666328 #286644
square
#282B66 #66284A #666328 #286644
split-complementary
#282B66 #664428 #4A6628
monochromatic
#090916 #17183A #282B66 #393E92 #4F54BA

Accessibility & contrast

On white

12.90
#282B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282B66
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B66#FFFFFF#000000##FFFFFF
##282B661.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053468
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#033944
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282b66;
/* rgb */ color: rgb(40, 43, 102);
/* oklch */ color: oklch(32.3% 0.102 276.9);
Tailwind
colors: {
  custom: {
    50: '#686492',
    500: '#282b66',
    950: '#000000',
  },
}
SCSS
$custom: #282b66;
$custom-light: #686492;
$custom-dark: #000000;
JSON
{
  "hex": "#282b66",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 237.097,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32259,
    "c": 0.10182,
    "h": 276.9
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#282B66
secondary
#999551
accent
#CD54D3
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #282B66

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

Preview Lab → · Contrast checker → · Palette generator →

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