#303B96#303B96

#303B96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.148 H 272.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#303B96
RGBrgb(48, 59, 150)
HSLhsl(234, 52%, 39%)
HSVhsv(234, 68%, 59%)
CMYKcmyk(68%, 60.7%, 0%, 41.2%)
CIE-LABlab(29.31, 26.42, -51.39)
CIE-LCHlch(29.31, 57.79, 297.21°)
OKLaboklab(40.1% 0.0066 -0.1481)
OKLCHoklch(40.1% 0.148 272.6)
XYZxyz(8.2861, 5.9576, 29.5615)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B96 #968B30
analogous
#306E96 #303B96 #583096
triadic
#303B96 #96303B #3B9630
tetradic
#303B96 #96306E #968B30 #309658
square
#303B96 #96306E #968B30 #309658
split-complementary
#303B96 #965830 #6E9630
monochromatic
#121739 #212968 #303B96 #414FC2 #6F7AD1

Accessibility & contrast

On white

9.58
#303B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#303B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B96
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B96#FFFFFF#000000##FFFFFF
##303B961.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #303b96;
/* rgb */ color: rgb(48, 59, 150);
/* oklch */ color: oklch(40.1% 0.148 272.6);
Tailwind
colors: {
  custom: {
    50: '#7570b6',
    500: '#303b96',
    950: '#000000',
  },
}
SCSS
$custom: #303b96;
$custom-light: #7570b6;
$custom-dark: #000000;
JSON
{
  "hex": "#303b96",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 233.529,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.14821,
    "h": 272.6
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#303B96
secondary
#B9B069
accent
#CC4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303B96

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

Preview Lab → · Contrast checker → · Palette generator →

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