#303A4E#303A4E

#303A4E is a dark, muted blue. Relative luminance 0.042; OKLCH L 34.8% C 0.038 H 263.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#303A4E
RGBrgb(48, 58, 78)
HSLhsl(220, 24%, 25%)
HSVhsv(220, 38%, 31%)
CMYKcmyk(38.5%, 25.6%, 0%, 69.4%)
CIE-LABlab(24.34, 1.59, -13.52)
CIE-LCHlch(24.34, 13.62, 276.70°)
OKLaboklab(34.82% -0.004 -0.0374)
OKLCHoklch(34.82% 0.038 263.9)
XYZxyz(4.1067, 4.2044, 7.8014)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A4E #4E4430
analogous
#30494E #303A4E #35304E
triadic
#303A4E #4E303A #3A4E30
tetradic
#303A4E #4E3049 #4E4430 #304E35
square
#303A4E #4E3049 #4E4430 #304E35
split-complementary
#303A4E #4E3530 #494E30
monochromatic
#0C0E13 #191E28 #303A4E #475674 #5F729A

Accessibility & contrast

On white

11.41
#303A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303A4E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A4E#FFFFFF#000000##FFFFFF
##303A4E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#30394E
Tritanopia (blue-blind)
#273E41
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303a4e;
/* rgb */ color: rgb(48, 58, 78);
/* oklch */ color: oklch(34.8% 0.038 263.9);
Tailwind
colors: {
  custom: {
    50: '#69707f',
    500: '#303a4e',
    950: '#000000',
  },
}
SCSS
$custom: #303a4e;
$custom-light: #69707f;
$custom-dark: #000000;
JSON
{
  "hex": "#303a4e",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 220,
    "s": 23.81,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3482,
    "c": 0.03765,
    "h": 263.9
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#303A4E
secondary
#7F735B
accent
#A368C0
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #303A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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