#303699#303699

#303699 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.159 H 273.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#303699
RGBrgb(48, 54, 153)
HSLhsl(237, 52%, 39%)
HSVhsv(237, 69%, 60%)
CMYKcmyk(68.6%, 64.7%, 0%, 40%)
CIE-LABlab(28.29, 30.80, -54.88)
CIE-LCHlch(28.29, 62.93, 299.30°)
OKLaboklab(39.43% 0.0106 -0.1583)
OKLCHoklch(39.43% 0.159 273.8)
XYZxyz(8.2859, 5.5659, 30.7685)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303699 #999330
analogous
#306B99 #303699 #5E3099
triadic
#303699 #993036 #369930
tetradic
#303699 #99306B #999330 #30995E
square
#303699 #99306B #999330 #30995E
split-complementary
#303699 #995E30 #6B9930
monochromatic
#13153C #21266A #303699 #424AC4 #7177D2

Accessibility & contrast

On white

9.94
#303699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#303699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303699
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303699#FFFFFF#000000##FFFFFF
##3036991.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #303699;
/* rgb */ color: rgb(48, 54, 153);
/* oklch */ color: oklch(39.4% 0.159 273.8);
Tailwind
colors: {
  custom: {
    50: '#766db8',
    500: '#303699',
    950: '#000000',
  },
}
SCSS
$custom: #303699;
$custom-light: #766db8;
$custom-dark: #000000;
JSON
{
  "hex": "#303699",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 236.571,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.15871,
    "h": 273.8
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#303699
secondary
#BAB66B
accent
#D34CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #303699

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

Preview Lab → · Contrast checker → · Palette generator →

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