#282945#282945

#282945 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.4% C 0.051 H 281.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#282945
RGBrgb(40, 41, 69)
HSLhsl(238, 27%, 21%)
HSVhsv(238, 42%, 27%)
CMYKcmyk(42%, 40.6%, 0%, 72.9%)
CIE-LABlab(17.77, 7.80, -17.72)
CIE-LCHlch(17.77, 19.36, 293.76°)
OKLaboklab(29.4% 0.0099 -0.0496)
OKLCHoklch(29.4% 0.051 281.2)
XYZxyz(2.7419, 2.4666, 5.9607)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282945 #454428
analogous
#283845 #282945 #362845
triadic
#282945 #452829 #294528
tetradic
#282945 #452838 #454428 #284536
square
#282945 #452838 #454428 #284536
split-complementary
#282945 #453628 #384528
monochromatic
#0B0C13 #12121E #282945 #3E406C #555792

Accessibility & contrast

On white

14.06
#282945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#282945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282945
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282945#FFFFFF#000000##FFFFFF
##2829451.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D46
Deuteranopia (green-blind)
#1E2B44
Tritanopia (blue-blind)
#202E33
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282945;
/* rgb */ color: rgb(40, 41, 69);
/* oklch */ color: oklch(29.4% 0.051 281.2);
Tailwind
colors: {
  custom: {
    50: '#636279',
    500: '#282945',
    950: '#000000',
  },
}
SCSS
$custom: #282945;
$custom-light: #636279;
$custom-dark: #000000;
JSON
{
  "hex": "#282945",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 237.931,
    "s": 26.606,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29405,
    "c": 0.05062,
    "h": 281.2
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#282945
secondary
#777652
accent
#C065C3
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050509
muted
#79797B

Preview Lab

Preview with #282945

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

Preview Lab → · Contrast checker → · Palette generator →

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