#282A56#282A56

#282A56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.078 H 278.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#282A56
RGBrgb(40, 42, 86)
HSLhsl(237, 37%, 25%)
HSVhsv(237, 53%, 34%)
CMYKcmyk(53.5%, 51.2%, 0%, 66.3%)
CIE-LABlab(19.13, 13.02, -27.06)
CIE-LCHlch(19.13, 30.03, 295.69°)
OKLaboklab(30.79% 0.0119 -0.0769)
OKLCHoklch(30.79% 0.078 278.8)
XYZxyz(3.3822, 2.7787, 9.1604)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A56 #565428
analogous
#284156 #282A56 #3D2856
triadic
#282A56 #56282A #2A5628
tetradic
#282A56 #562841 #565428 #28563D
square
#282A56 #562841 #565428 #28563D
split-complementary
#282A56 #563D28 #415628
monochromatic
#0A0A15 #15162C #282A56 #3B3E80 #4F53AA

Accessibility & contrast

On white

13.50
#282A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#282A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A56
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A56#FFFFFF#000000##FFFFFF
##282A561.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173058
Deuteranopia (green-blind)
#132D55
Tritanopia (blue-blind)
#16333B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282a56;
/* rgb */ color: rgb(40, 42, 86);
/* oklch */ color: oklch(30.8% 0.078 278.8);
Tailwind
colors: {
  custom: {
    50: '#666386',
    500: '#282a56',
    950: '#000000',
  },
}
SCSS
$custom: #282a56;
$custom-light: #666386;
$custom-dark: #000000;
JSON
{
  "hex": "#282a56",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 237.391,
    "s": 36.508,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30794,
    "c": 0.07783,
    "h": 278.8
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#282A56
secondary
#898651
accent
#C85BCD
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282A56

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

Preview Lab → · Contrast checker → · Palette generator →

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