#303A4C#303A4C

#303A4C is a dark, muted blue. Relative luminance 0.042; OKLCH L 34.7% C 0.034 H 262.0°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#303A4C
RGBrgb(48, 58, 76)
HSLhsl(219, 23%, 24%)
HSVhsv(219, 37%, 30%)
CMYKcmyk(36.8%, 23.7%, 0%, 70.2%)
CIE-LABlab(24.25, 0.97, -12.34)
CIE-LCHlch(24.25, 12.38, 274.49°)
OKLaboklab(34.72% -0.0048 -0.0341)
OKLCHoklch(34.72% 0.034 262)
XYZxyz(4.0361, 4.1761, 7.4295)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A4C #4C4230
analogous
#30484C #303A4C #34304C
triadic
#303A4C #4C303A #3A4C30
tetradic
#303A4C #4C3048 #4C4230 #304C34
square
#303A4C #4C3048 #4C4230 #304C34
split-complementary
#303A4C #4C3430 #484C30
monochromatic
#0C0E13 #181D26 #303A4C #485772 #5F7397

Accessibility & contrast

On white

11.44
#303A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#303A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A4C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A4C#FFFFFF#000000##FFFFFF
##303A4C1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#31384C
Tritanopia (blue-blind)
#283E40
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303a4c;
/* rgb */ color: rgb(48, 58, 76);
/* oklch */ color: oklch(34.7% 0.034 262.0);
Tailwind
colors: {
  custom: {
    50: '#69707e',
    500: '#303a4c',
    950: '#000000',
  },
}
SCSS
$custom: #303a4c;
$custom-light: #69707e;
$custom-dark: #000000;
JSON
{
  "hex": "#303a4c",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 76
  },
  "hsl": {
    "h": 218.571,
    "s": 22.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34719,
    "c": 0.0344,
    "h": 262
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#303A4C
secondary
#7D715B
accent
#A069BF
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#060709
muted
#7A7A7B

Preview Lab

Preview with #303A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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