#282A6E#282A6E

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

Color values

HEX#282A6E
RGBrgb(40, 42, 110)
HSLhsl(238, 47%, 29%)
HSVhsv(238, 64%, 43%)
CMYKcmyk(63.6%, 61.8%, 0%, 56.9%)
CIE-LABlab(20.95, 21.83, -39.89)
CIE-LCHlch(20.95, 45.47, 298.69°)
OKLaboklab(32.73% 0.0134 -0.1146)
OKLCHoklch(32.73% 0.115 276.7)
XYZxyz(4.5166, 3.2325, 15.1348)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A6E #6E6C28
analogous
#284D6E #282A6E #49286E
triadic
#282A6E #6E282A #2A6E28
tetradic
#282A6E #6E284D #6E6C28 #286E49
square
#282A6E #6E284D #6E6C28 #286E49
split-complementary
#282A6E #6E4928 #4D6E28
monochromatic
#080916 #181941 #282A6E #383B9B #5154C0

Accessibility & contrast

On white

12.75
#282A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#282A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A6E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A6E#FFFFFF#000000##FFFFFF
##282A6E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282a6e;
/* rgb */ color: rgb(40, 42, 110);
/* oklch */ color: oklch(32.7% 0.115 276.7);
Tailwind
colors: {
  custom: {
    50: '#6a6398',
    500: '#282a6e',
    950: '#000000',
  },
}
SCSS
$custom: #282a6e;
$custom-light: #6a6398;
$custom-dark: #000000;
JSON
{
  "hex": "#282a6e",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 238.286,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32732,
    "c": 0.11543,
    "h": 276.7
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#282A6E
secondary
#A09E51
accent
#D351D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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