#282E4F#282E4F

#282E4F is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.060 H 274.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#282E4F
RGBrgb(40, 46, 79)
HSLhsl(231, 33%, 23%)
HSVhsv(231, 49%, 31%)
CMYKcmyk(49.4%, 41.8%, 0%, 69%)
CIE-LABlab(19.92, 7.67, -21.12)
CIE-LCHlch(19.92, 22.47, 289.96°)
OKLaboklab(31.25% 0.0048 -0.0595)
OKLCHoklch(31.25% 0.06 274.6)
XYZxyz(3.2629, 2.9694, 7.7969)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E4F #4F4928
analogous
#28414F #282E4F #35284F
triadic
#282E4F #4F282E #2E4F28
tetradic
#282E4F #4F2841 #4F4928 #284F35
square
#282E4F #4F2841 #4F4928 #284F35
split-complementary
#282E4F #4F3528 #414F28
monochromatic
#0A0C14 #131626 #282E4F #3D4678 #515DA0

Accessibility & contrast

On white

13.17
#282E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#282E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E4F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E4F#FFFFFF#000000##FFFFFF
##282E4F1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223250
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#1A353A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282e4f;
/* rgb */ color: rgb(40, 46, 79);
/* oklch */ color: oklch(31.2% 0.060 274.6);
Tailwind
colors: {
  custom: {
    50: '#646680',
    500: '#282e4f',
    950: '#000000',
  },
}
SCSS
$custom: #282e4f;
$custom-light: #646680;
$custom-dark: #000000;
JSON
{
  "hex": "#282e4f",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 230.769,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31249,
    "c": 0.0597,
    "h": 274.6
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#282E4F
secondary
#827A51
accent
#B95FC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #282E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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