#282B68#282B68

#282B68 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.105 H 276.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#282B68
RGBrgb(40, 43, 104)
HSLhsl(237, 44%, 28%)
HSVhsv(237, 62%, 41%)
CMYKcmyk(61.5%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.74, 18.91, -36.34)
CIE-LCHlch(20.74, 40.96, 297.49°)
OKLaboklab(32.42% 0.0123 -0.1042)
OKLCHoklch(32.42% 0.105 276.7)
XYZxyz(4.2368, 3.1780, 13.4842)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B68 #686528
analogous
#284B68 #282B68 #452868
triadic
#282B68 #68282B #2B6828
tetradic
#282B68 #68284B #686528 #286845
square
#282B68 #68284B #686528 #286845
split-complementary
#282B68 #684528 #4B6828
monochromatic
#090916 #17193C #282B68 #393D94 #4F54BB

Accessibility & contrast

On white

12.84
#282B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#282B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B68
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B68#FFFFFF#000000##FFFFFF
##282B681.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01356A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282b68;
/* rgb */ color: rgb(40, 43, 104);
/* oklch */ color: oklch(32.4% 0.105 276.7);
Tailwind
colors: {
  custom: {
    50: '#696494',
    500: '#282b68',
    950: '#000000',
  },
}
SCSS
$custom: #282b68;
$custom-light: #696494;
$custom-dark: #000000;
JSON
{
  "hex": "#282b68",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 237.188,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32424,
    "c": 0.10491,
    "h": 276.7
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#282B68
secondary
#9B9751
accent
#CE54D4
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #282B68

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

Preview Lab → · Contrast checker → · Palette generator →

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