#303B4E#303B4E

#303B4E is a dark, muted blue. Relative luminance 0.043; OKLCH L 35.1% C 0.036 H 261.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#303B4E
RGBrgb(48, 59, 78)
HSLhsl(218, 24%, 25%)
HSVhsv(218, 38%, 31%)
CMYKcmyk(38.5%, 24.4%, 0%, 69.4%)
CIE-LABlab(24.66, 0.92, -13.03)
CIE-LCHlch(24.66, 13.06, 274.03°)
OKLaboklab(35.07% -0.0056 -0.036)
OKLCHoklch(35.07% 0.036 261.2)
XYZxyz(4.1576, 4.3062, 7.8184)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B4E #4E4330
analogous
#304A4E #303B4E #34304E
triadic
#303B4E #4E303B #3B4E30
tetradic
#303B4E #4E304A #4E4330 #304E34
square
#303B4E #4E304A #4E4330 #304E34
split-complementary
#303B4E #4E3430 #4A4E30
monochromatic
#0C0E13 #191E28 #303B4E #475874 #5F749A

Accessibility & contrast

On white

11.28
#303B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#303B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B4E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B4E#FFFFFF#000000##FFFFFF
##303B4E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#273F41
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #303b4e;
/* rgb */ color: rgb(48, 59, 78);
/* oklch */ color: oklch(35.1% 0.036 261.2);
Tailwind
colors: {
  custom: {
    50: '#69707f',
    500: '#303b4e',
    950: '#000000',
  },
}
SCSS
$custom: #303b4e;
$custom-light: #69707f;
$custom-dark: #000000;
JSON
{
  "hex": "#303b4e",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 78
  },
  "hsl": {
    "h": 218,
    "s": 23.81,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.03646,
    "h": 261.2
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#303B4E
secondary
#7F725B
accent
#A068C0
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #303B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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