#303C85#303C85

#303C85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.122 H 272.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#303C85
RGBrgb(48, 60, 133)
HSLhsl(232, 47%, 35%)
HSVhsv(232, 64%, 52%)
CMYKcmyk(63.9%, 54.9%, 0%, 47.8%)
CIE-LABlab(28.26, 19.49, -42.61)
CIE-LCHlch(28.26, 46.86, 294.58°)
OKLaboklab(38.9% 0.0052 -0.1222)
OKLCHoklch(38.9% 0.122 272.4)
XYZxyz(7.0670, 5.5530, 22.8852)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C85 #857930
analogous
#306685 #303C85 #4E3085
triadic
#303C85 #85303C #3C8530
tetradic
#303C85 #853066 #857930 #30854E
square
#303C85 #853066 #857930 #30854E
split-complementary
#303C85 #854E30 #668530
monochromatic
#10132B #202858 #303C85 #4050B2 #6775C8

Accessibility & contrast

On white

9.95
#303C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#303C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C85
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C85#FFFFFF#000000##FFFFFF
##303C851.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4788
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #303c85;
/* rgb */ color: rgb(48, 60, 133);
/* oklch */ color: oklch(38.9% 0.122 272.4);
Tailwind
colors: {
  custom: {
    50: '#7271a9',
    500: '#303c85',
    950: '#000000',
  },
}
SCSS
$custom: #303c85;
$custom-light: #7271a9;
$custom-dark: #000000;
JSON
{
  "hex": "#303c85",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 231.529,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38898,
    "c": 0.12234,
    "h": 272.4
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#303C85
secondary
#AFA461
accent
#C451D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #303C85

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

Preview Lab → · Contrast checker → · Palette generator →

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