#303A92#303A92

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

Color values

HEX#303A92
RGBrgb(48, 58, 146)
HSLhsl(234, 51%, 38%)
HSVhsv(234, 67%, 57%)
CMYKcmyk(67.1%, 60.3%, 0%, 42.7%)
CIE-LABlab(28.72, 25.62, -49.90)
CIE-LCHlch(28.72, 56.09, 297.18°)
OKLaboklab(39.56% 0.0075 -0.1437)
OKLCHoklch(39.56% 0.144 273)
XYZxyz(7.9186, 5.7291, 27.8771)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A92 #928830
analogous
#306B92 #303A92 #573092
triadic
#303A92 #92303A #3A9230
tetradic
#303A92 #92306B #928830 #309257
square
#303A92 #92306B #928830 #309257
split-complementary
#303A92 #925730 #6B9230
monochromatic
#121536 #212864 #303A92 #3F4CC0 #6D77CF

Accessibility & contrast

On white

9.79
#303A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#303A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A92
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A92#FFFFFF#000000##FFFFFF
##303A921.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #303a92;
/* rgb */ color: rgb(48, 58, 146);
/* oklch */ color: oklch(39.6% 0.144 273.0);
Tailwind
colors: {
  custom: {
    50: '#7470b3',
    500: '#303a92',
    950: '#000000',
  },
}
SCSS
$custom: #303a92;
$custom-light: #7470b3;
$custom-dark: #000000;
JSON
{
  "hex": "#303a92",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 233.878,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39561,
    "c": 0.14388,
    "h": 273
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#303A92
secondary
#B7AE67
accent
#CC4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303A92

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

Preview Lab → · Contrast checker → · Palette generator →

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