#282249#282249

#282249 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.070 H 288.1°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#282249
RGBrgb(40, 34, 73)
HSLhsl(249, 36%, 21%)
HSVhsv(249, 53%, 29%)
CMYKcmyk(45.2%, 53.4%, 0%, 71.4%)
CIE-LABlab(15.88, 14.18, -23.45)
CIE-LCHlch(15.88, 27.40, 301.16°)
OKLaboklab(28.05% 0.0217 -0.0664)
OKLCHoklch(28.05% 0.07 288.1)
XYZxyz(2.6494, 2.0761, 6.5632)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282249 #434922
analogous
#222F49 #282249 #3B2249
triadic
#282249 #492822 #224928
tetradic
#282249 #49222F #434922 #22493B
square
#282249 #49222F #434922 #22493B
split-complementary
#282249 #493B22 #2F4922
monochromatic
#0B0A15 #110F1F #282249 #3F3573 #56499D

Accessibility & contrast

On white

14.84
#282249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#282249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282249
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282249#FFFFFF#000000##FFFFFF
##2822491.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13284A
Deuteranopia (green-blind)
#132748
Tritanopia (blue-blind)
#1F2A32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282249;
/* rgb */ color: rgb(40, 34, 73);
/* oklch */ color: oklch(28.1% 0.070 288.1);
Tailwind
colors: {
  custom: {
    50: '#645d7c',
    500: '#282249',
    950: '#000000',
  },
}
SCSS
$custom: #282249;
$custom-light: #645d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#282249",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 249.231,
    "s": 36.449,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28053,
    "c": 0.06984,
    "h": 288.1
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#282249
secondary
#757D4A
accent
#CC5BBB
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#050409
muted
#7A797B

Preview Lab

Preview with #282249

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

Preview Lab → · Contrast checker → · Palette generator →

#282249 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva