#303B99#303B99

#303B99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.152 H 272.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#303B99
RGBrgb(48, 59, 153)
HSLhsl(234, 52%, 39%)
HSVhsv(234, 69%, 60%)
CMYKcmyk(68.6%, 61.4%, 0%, 40%)
CIE-LABlab(29.55, 27.52, -52.82)
CIE-LCHlch(29.55, 59.56, 297.52°)
OKLaboklab(40.36% 0.0066 -0.1523)
OKLCHoklch(40.36% 0.152 272.5)
XYZxyz(8.5307, 6.0554, 30.8501)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B99 #998E30
analogous
#307099 #303B99 #593099
triadic
#303B99 #99303B #3B9930
tetradic
#303B99 #993070 #998E30 #309959
square
#303B99 #993070 #998E30 #309959
split-complementary
#303B99 #995930 #709930
monochromatic
#13173C #21296A #303B99 #4250C4 #717BD2

Accessibility & contrast

On white

9.50
#303B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#303B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B99
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B99#FFFFFF#000000##FFFFFF
##303B991.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #303b99;
/* rgb */ color: rgb(48, 59, 153);
/* oklch */ color: oklch(40.4% 0.152 272.5);
Tailwind
colors: {
  custom: {
    50: '#7671b8',
    500: '#303b99',
    950: '#000000',
  },
}
SCSS
$custom: #303b99;
$custom-light: #7671b8;
$custom-dark: #000000;
JSON
{
  "hex": "#303b99",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 233.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.1524,
    "h": 272.5
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#303B99
secondary
#BAB26B
accent
#CD4CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #303B99

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

Preview Lab → · Contrast checker → · Palette generator →

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