#303A4A#303A4A

#303A4A is a dark, muted blue. Relative luminance 0.041; OKLCH L 34.6% C 0.031 H 259.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#303A4A
RGBrgb(48, 58, 74)
HSLhsl(217, 21%, 24%)
HSVhsv(217, 35%, 29%)
CMYKcmyk(35.1%, 21.6%, 0%, 71%)
CIE-LABlab(24.16, 0.36, -11.15)
CIE-LCHlch(24.16, 11.15, 271.83°)
OKLaboklab(34.62% -0.0056 -0.0307)
OKLCHoklch(34.62% 0.031 259.7)
XYZxyz(3.9676, 4.1487, 7.0690)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A4A #4A4030
analogous
#30474A #303A4A #33304A
triadic
#303A4A #4A303A #3A4A30
tetradic
#303A4A #4A3047 #4A4030 #304A33
square
#303A4A #4A3047 #4A4030 #304A33
split-complementary
#303A4A #4A3330 #474A30
monochromatic
#0C0F13 #181D25 #303A4A #48576F #607494

Accessibility & contrast

On white

11.48
#303A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#303A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A4A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A4A#FFFFFF#000000##FFFFFF
##303A4A1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#32384A
Tritanopia (blue-blind)
#283D3F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303a4a;
/* rgb */ color: rgb(48, 58, 74);
/* oklch */ color: oklch(34.6% 0.031 259.7);
Tailwind
colors: {
  custom: {
    50: '#69707c',
    500: '#303a4a',
    950: '#000000',
  },
}
SCSS
$custom: #303a4a;
$custom-light: #69707c;
$custom-dark: #000000;
JSON
{
  "hex": "#303a4a",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 74
  },
  "hsl": {
    "h": 216.923,
    "s": 21.311,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34621,
    "c": 0.0312,
    "h": 259.7
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#303A4A
secondary
#7B6F5B
accent
#9E6ABE
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#060709
muted
#7A7A7B

Preview Lab

Preview with #303A4A

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

Preview Lab → · Contrast checker → · Palette generator →

#303A4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva