#303A91#303A91

#303A91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.142 H 273.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#303A91
RGBrgb(48, 58, 145)
HSLhsl(234, 50%, 38%)
HSVhsv(234, 67%, 57%)
CMYKcmyk(66.9%, 60%, 0%, 43.1%)
CIE-LABlab(28.64, 25.26, -49.41)
CIE-LCHlch(28.64, 55.49, 297.07°)
OKLaboklab(39.48% 0.0075 -0.1423)
OKLCHoklch(39.48% 0.142 273)
XYZxyz(7.8411, 5.6981, 27.4692)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A91 #918730
analogous
#306B91 #303A91 #563091
triadic
#303A91 #91303A #3A9130
tetradic
#303A91 #91306B #918730 #309156
square
#303A91 #91306B #918730 #309156
split-complementary
#303A91 #915630 #6B9130
monochromatic
#121535 #212863 #303A91 #3F4CBF #6D77CF

Accessibility & contrast

On white

9.81
#303A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#303A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A91
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A91#FFFFFF#000000##FFFFFF
##303A911.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #303a91;
/* rgb */ color: rgb(48, 58, 145);
/* oklch */ color: oklch(39.5% 0.142 273.0);
Tailwind
colors: {
  custom: {
    50: '#7470b2',
    500: '#303a91',
    950: '#000000',
  },
}
SCSS
$custom: #303a91;
$custom-light: #7470b2;
$custom-dark: #000000;
JSON
{
  "hex": "#303a91",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 233.814,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.14246,
    "h": 273
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#303A91
secondary
#B6AE67
accent
#CB4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303A91

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

Preview Lab → · Contrast checker → · Palette generator →

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