#303850#303850

#303850 is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.4% C 0.044 H 269.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#303850
RGBrgb(48, 56, 80)
HSLhsl(225, 25%, 25%)
HSVhsv(225, 40%, 31%)
CMYKcmyk(40%, 30%, 0%, 68.6%)
CIE-LABlab(23.79, 3.57, -15.69)
CIE-LCHlch(23.79, 16.09, 282.83°)
OKLaboklab(34.42% -0.0001 -0.0436)
OKLCHoklch(34.42% 0.044 269.8)
XYZxyz(4.0806, 4.0357, 8.1518)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303850 #504830
analogous
#304850 #303850 #383050
triadic
#303850 #503038 #385030
tetradic
#303850 #503048 #504830 #305038
square
#303850 #503048 #504830 #305038
split-complementary
#303850 #503830 #485030
monochromatic
#0B0D13 #191D2A #303850 #475376 #5E6E9C

Accessibility & contrast

On white

11.62
#303850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#303850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303850
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303850#FFFFFF#000000##FFFFFF
##3038501.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A51
Deuteranopia (green-blind)
#2D374F
Tritanopia (blue-blind)
#263D40
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303850;
/* rgb */ color: rgb(48, 56, 80);
/* oklch */ color: oklch(34.4% 0.044 269.8);
Tailwind
colors: {
  custom: {
    50: '#696e81',
    500: '#303850',
    950: '#000000',
  },
}
SCSS
$custom: #303850;
$custom-light: #696e81;
$custom-dark: #000000;
JSON
{
  "hex": "#303850",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 80
  },
  "hsl": {
    "h": 225,
    "s": 25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34424,
    "c": 0.04363,
    "h": 269.8
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#303850
secondary
#81785B
accent
#AB66C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #303850

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

Preview Lab → · Contrast checker → · Palette generator →

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