#282A4E#282A4E

#282A4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.064 H 279.4°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#282A4E
RGBrgb(40, 42, 78)
HSLhsl(237, 32%, 23%)
HSVhsv(237, 49%, 31%)
CMYKcmyk(48.7%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.61, 10.17, -22.51)
CIE-LCHlch(18.61, 24.70, 294.31°)
OKLaboklab(30.23% 0.0105 -0.0636)
OKLCHoklch(30.23% 0.064 279.4)
XYZxyz(3.0778, 2.6570, 7.5569)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A4E #4E4C28
analogous
#283D4E #282A4E #39284E
triadic
#282A4E #4E282A #2A4E28
tetradic
#282A4E #4E283D #4E4C28 #284E39
square
#282A4E #4E283D #4E4C28 #284E39
split-complementary
#282A4E #4E3928 #3D4E28
monochromatic
#0A0B14 #131426 #282A4E #3D4076 #51569F

Accessibility & contrast

On white

13.71
#282A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#282A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A4E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A4E#FFFFFF#000000##FFFFFF
##282A4E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#1A2C4D
Tritanopia (blue-blind)
#1B3138
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282a4e;
/* rgb */ color: rgb(40, 42, 78);
/* oklch */ color: oklch(30.2% 0.064 279.4);
Tailwind
colors: {
  custom: {
    50: '#646380',
    500: '#282a4e',
    950: '#000000',
  },
}
SCSS
$custom: #282a4e;
$custom-light: #646380;
$custom-dark: #000000;
JSON
{
  "hex": "#282a4e",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 236.842,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30229,
    "c": 0.06445,
    "h": 279.4
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#282A4E
secondary
#817E51
accent
#C35FC8
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #282A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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