#282A69#282A69

#282A69 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.108 H 277.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#282A69
RGBrgb(40, 42, 105)
HSLhsl(238, 45%, 28%)
HSVhsv(238, 62%, 41%)
CMYKcmyk(61.9%, 60%, 0%, 58.8%)
CIE-LABlab(20.54, 19.98, -37.31)
CIE-LCHlch(20.54, 42.32, 298.16°)
OKLaboklab(32.3% 0.0134 -0.1071)
OKLCHoklch(32.3% 0.108 277.1)
XYZxyz(4.2520, 3.1267, 13.7413)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A69 #696728
analogous
#284A69 #282A69 #462869
triadic
#282A69 #69282A #2A6928
tetradic
#282A69 #69284A #696728 #286946
square
#282A69 #69284A #696728 #286946
split-complementary
#282A69 #694628 #4A6928
monochromatic
#080916 #17183D #282A69 #393C95 #4F53BC

Accessibility & contrast

On white

12.92
#282A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#282A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A69
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A69#FFFFFF#000000##FFFFFF
##282A691.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282a69;
/* rgb */ color: rgb(40, 42, 105);
/* oklch */ color: oklch(32.3% 0.108 277.1);
Tailwind
colors: {
  custom: {
    50: '#696394',
    500: '#282a69',
    950: '#000000',
  },
}
SCSS
$custom: #282a69;
$custom-light: #696394;
$custom-dark: #000000;
JSON
{
  "hex": "#282a69",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 238.154,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.10789,
    "h": 277.1
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#282A69
secondary
#9C9951
accent
#D153D5
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #282A69

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

Preview Lab → · Contrast checker → · Palette generator →

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