#303B91#303B91

#303B91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.141 H 272.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#303B91
RGBrgb(48, 59, 145)
HSLhsl(233, 50%, 38%)
HSVhsv(233, 67%, 57%)
CMYKcmyk(66.9%, 59.3%, 0%, 43.1%)
CIE-LABlab(28.90, 24.59, -48.98)
CIE-LCHlch(28.90, 54.81, 296.66°)
OKLaboklab(39.67% 0.0066 -0.141)
OKLCHoklch(39.67% 0.141 272.7)
XYZxyz(7.8920, 5.7999, 27.4862)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B91 #918630
analogous
#306B91 #303B91 #553091
triadic
#303B91 #91303B #3B9130
tetradic
#303B91 #91306B #918630 #309155
square
#303B91 #91306B #918630 #309155
split-complementary
#303B91 #915530 #6B9130
monochromatic
#121635 #212863 #303B91 #3F4EBF #6D78CF

Accessibility & contrast

On white

9.72
#303B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#303B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B91
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B91#FFFFFF#000000##FFFFFF
##303B911.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #303b91;
/* rgb */ color: rgb(48, 59, 145);
/* oklch */ color: oklch(39.7% 0.141 272.7);
Tailwind
colors: {
  custom: {
    50: '#7470b2',
    500: '#303b91',
    950: '#000000',
  },
}
SCSS
$custom: #303b91;
$custom-light: #7470b2;
$custom-dark: #000000;
JSON
{
  "hex": "#303b91",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 233.196,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.14113,
    "h": 272.7
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#303B91
secondary
#B6AD67
accent
#CA4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303B91

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

Preview Lab → · Contrast checker → · Palette generator →

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