#282B6E#282B6E

#282B6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.114 H 276.2°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#282B6E
RGBrgb(40, 43, 110)
HSLhsl(237, 47%, 29%)
HSVhsv(237, 64%, 43%)
CMYKcmyk(63.6%, 60.9%, 0%, 56.9%)
CIE-LABlab(21.22, 21.14, -39.45)
CIE-LCHlch(21.22, 44.76, 298.18°)
OKLaboklab(32.93% 0.0124 -0.1133)
OKLCHoklch(32.93% 0.114 276.2)
XYZxyz(4.5525, 3.3043, 15.1467)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B6E #6E6B28
analogous
#284E6E #282B6E #48286E
triadic
#282B6E #6E282B #2B6E28
tetradic
#282B6E #6E284E #6E6B28 #286E48
square
#282B6E #6E284E #6E6B28 #286E48
split-complementary
#282B6E #6E4828 #4E6E28
monochromatic
#080916 #181941 #282B6E #383D9B #5156C0

Accessibility & contrast

On white

12.64
#282B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B6E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B6E#FFFFFF#000000##FFFFFF
##282B6E1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282b6e;
/* rgb */ color: rgb(40, 43, 110);
/* oklch */ color: oklch(32.9% 0.114 276.2);
Tailwind
colors: {
  custom: {
    50: '#6a6498',
    500: '#282b6e',
    950: '#000000',
  },
}
SCSS
$custom: #282b6e;
$custom-light: #6a6498;
$custom-dark: #000000;
JSON
{
  "hex": "#282b6e",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 237.429,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.11401,
    "h": 276.2
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#282B6E
secondary
#A09D51
accent
#D151D6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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