#282F4E#282F4E

#282F4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.4% C 0.056 H 273.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#282F4E
RGBrgb(40, 47, 78)
HSLhsl(229, 32%, 23%)
HSVhsv(229, 49%, 31%)
CMYKcmyk(48.7%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.18, 6.61, -20.04)
CIE-LCHlch(20.18, 21.10, 288.26°)
OKLaboklab(31.43% 0.0031 -0.0564)
OKLCHoklch(31.43% 0.056 273.1)
XYZxyz(3.2663, 3.0340, 7.6198)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F4E #4E4728
analogous
#28424E #282F4E #34284E
triadic
#282F4E #4E282F #2F4E28
tetradic
#282F4E #4E2842 #4E4728 #284E34
square
#282F4E #4E2842 #4E4728 #284E34
split-complementary
#282F4E #4E3428 #424E28
monochromatic
#0A0C14 #131726 #282F4E #3D4776 #51609F

Accessibility & contrast

On white

13.07
#282F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F4E
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F4E#FFFFFF#000000##FFFFFF
##282F4E1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324F
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#1B353A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282f4e;
/* rgb */ color: rgb(40, 47, 78);
/* oklch */ color: oklch(31.4% 0.056 273.1);
Tailwind
colors: {
  custom: {
    50: '#64677f',
    500: '#282f4e',
    950: '#000000',
  },
}
SCSS
$custom: #282f4e;
$custom-light: #64677f;
$custom-dark: #000000;
JSON
{
  "hex": "#282f4e",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 228.947,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3143,
    "c": 0.05644,
    "h": 273.1
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#282F4E
secondary
#817851
accent
#B55FC8
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #282F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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