#282E67#282E67

#282E67 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.099 H 275.1°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#282E67
RGBrgb(40, 46, 103)
HSLhsl(234, 44%, 28%)
HSVhsv(234, 61%, 40%)
CMYKcmyk(61.2%, 55.3%, 0%, 59.6%)
CIE-LABlab(21.52, 16.43, -34.43)
CIE-LCHlch(21.52, 38.15, 295.50°)
OKLaboklab(32.98% 0.0088 -0.0985)
OKLCHoklch(32.98% 0.099 275.1)
XYZxyz(4.2995, 3.3841, 13.2560)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E67 #676128
analogous
#284D67 #282E67 #412867
triadic
#282E67 #67282E #2E6728
tetradic
#282E67 #67284D #676128 #286741
square
#282E67 #67284D #676128 #286741
split-complementary
#282E67 #674128 #4D6728
monochromatic
#090A16 #171A3B #282E67 #394293 #4F59BB

Accessibility & contrast

On white

12.52
#282E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#282E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E67
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E67#FFFFFF#000000##FFFFFF
##282E671.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3669
Deuteranopia (green-blind)
#013166
Tritanopia (blue-blind)
#013B45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282e67;
/* rgb */ color: rgb(40, 46, 103);
/* oklch */ color: oklch(33.0% 0.099 275.1);
Tailwind
colors: {
  custom: {
    50: '#686693',
    500: '#282e67',
    950: '#000000',
  },
}
SCSS
$custom: #282e67;
$custom-light: #686693;
$custom-dark: #000000;
JSON
{
  "hex": "#282e67",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 234.286,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32982,
    "c": 0.09894,
    "h": 275.1
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#282E67
secondary
#9A9351
accent
#C854D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #282E67

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

Preview Lab → · Contrast checker → · Palette generator →

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