#282A67#282A67

#282A67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.105 H 277.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#282A67
RGBrgb(40, 42, 103)
HSLhsl(238, 44%, 28%)
HSVhsv(238, 61%, 40%)
CMYKcmyk(61.2%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.39, 19.24, -36.27)
CIE-LCHlch(20.39, 41.05, 297.94°)
OKLaboklab(32.13% 0.0134 -0.104)
OKLCHoklch(32.13% 0.105 277.3)
XYZxyz(4.1504, 3.0860, 13.2063)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A67 #676528
analogous
#284967 #282A67 #452867
triadic
#282A67 #67282A #2A6728
tetradic
#282A67 #672849 #676528 #286745
square
#282A67 #672849 #676528 #286745
split-complementary
#282A67 #674528 #496728
monochromatic
#090916 #17183B #282A67 #393C93 #4F52BB

Accessibility & contrast

On white

12.99
#282A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A67
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A67#FFFFFF#000000##FFFFFF
##282A671.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#023844
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282a67;
/* rgb */ color: rgb(40, 42, 103);
/* oklch */ color: oklch(32.1% 0.105 277.3);
Tailwind
colors: {
  custom: {
    50: '#696393',
    500: '#282a67',
    950: '#000000',
  },
}
SCSS
$custom: #282a67;
$custom-light: #696393;
$custom-dark: #000000;
JSON
{
  "hex": "#282a67",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 238.095,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32132,
    "c": 0.10484,
    "h": 277.3
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#282A67
secondary
#9A9751
accent
#D054D4
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #282A67

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

Preview Lab → · Contrast checker → · Palette generator →

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