#303440#303440

#303440 is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.6% C 0.022 H 270.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#303440
RGBrgb(48, 52, 64)
HSLhsl(225, 14%, 22%)
HSVhsv(225, 25%, 25%)
CMYKcmyk(25%, 18.8%, 0%, 74.9%)
CIE-LABlab(21.78, 1.46, -8.07)
CIE-LCHlch(21.78, 8.20, 280.23°)
OKLaboklab(32.62% 0.0003 -0.022)
OKLCHoklch(32.62% 0.022 270.7)
XYZxyz(3.3721, 3.4544, 5.3386)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303440 #403C30
analogous
#303C40 #303440 #343040
triadic
#303440 #403034 #344030
tetradic
#303440 #40303C #403C30 #304034
square
#303440 #40303C #403C30 #304034
split-complementary
#303440 #403430 #3C4030
monochromatic
#0D0E11 #16181D #303440 #4A5063 #646D86

Accessibility & contrast

On white

12.42
#303440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#303440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303440
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303440#FFFFFF#000000##FFFFFF
##3034401.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#2F3440
Tritanopia (blue-blind)
#2C3638
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #303440;
/* rgb */ color: rgb(48, 52, 64);
/* oklch */ color: oklch(32.6% 0.022 270.7);
Tailwind
colors: {
  custom: {
    50: '#686b74',
    500: '#303440',
    950: '#000000',
  },
}
SCSS
$custom: #303440;
$custom-light: #686b74;
$custom-dark: #000000;
JSON
{
  "hex": "#303440",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 64
  },
  "hsl": {
    "h": 225,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32618,
    "c": 0.02202,
    "h": 270.7
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#303440
secondary
#706B5C
accent
#A571B7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #303440

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

Preview Lab → · Contrast checker → · Palette generator →

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