#303E79#303E79

#303E79 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.101 H 270.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#303E79
RGBrgb(48, 62, 121)
HSLhsl(228, 43%, 33%)
HSVhsv(228, 60%, 47%)
CMYKcmyk(60.3%, 48.8%, 0%, 52.5%)
CIE-LABlab(27.99, 13.71, -35.53)
CIE-LCHlch(27.99, 38.08, 291.11°)
OKLaboklab(38.43% 0.0016 -0.1014)
OKLCHoklch(38.43% 0.101 270.9)
XYZxyz(6.3916, 5.4536, 18.8013)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E79 #796B30
analogous
#306279 #303E79 #463079
triadic
#303E79 #79303E #3E7930
tetradic
#303E79 #793062 #796B30 #307946
square
#303E79 #793062 #796B30 #307946
split-complementary
#303E79 #794630 #627930
monochromatic
#0D1121 #1F284D #303E79 #4154A5 #6275C1

Accessibility & contrast

On white

10.04
#303E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#303E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E79
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E79#FFFFFF#000000##FFFFFF
##303E791.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457B
Deuteranopia (green-blind)
#173F78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303e79;
/* rgb */ color: rgb(48, 62, 121);
/* oklch */ color: oklch(38.4% 0.101 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f73a0',
    500: '#303e79',
    950: '#000000',
  },
}
SCSS
$custom: #303e79;
$custom-light: #6f73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#303e79",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 228.493,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.10137,
    "h": 270.9
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#303E79
secondary
#A89A5D
accent
#BB55D3
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #303E79

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

Preview Lab → · Contrast checker → · Palette generator →

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