#303A96#303A96

#303A96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.150 H 272.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#303A96
RGBrgb(48, 58, 150)
HSLhsl(234, 52%, 39%)
HSVhsv(234, 68%, 59%)
CMYKcmyk(68%, 61.3%, 0%, 41.2%)
CIE-LABlab(29.05, 27.09, -51.82)
CIE-LCHlch(29.05, 58.47, 297.60°)
OKLaboklab(39.91% 0.0075 -0.1493)
OKLCHoklch(39.91% 0.15 272.9)
XYZxyz(8.2352, 5.8557, 29.5445)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A96 #968C30
analogous
#306D96 #303A96 #593096
triadic
#303A96 #96303A #3A9630
tetradic
#303A96 #96306D #968C30 #309659
square
#303A96 #96306D #968C30 #309659
split-complementary
#303A96 #965930 #6D9630
monochromatic
#121639 #212868 #303A96 #414EC2 #6F79D1

Accessibility & contrast

On white

9.67
#303A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#303A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A96
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A96#FFFFFF#000000##FFFFFF
##303A961.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #303a96;
/* rgb */ color: rgb(48, 58, 150);
/* oklch */ color: oklch(39.9% 0.150 272.9);
Tailwind
colors: {
  custom: {
    50: '#7570b6',
    500: '#303a96',
    950: '#000000',
  },
}
SCSS
$custom: #303a96;
$custom-light: #7570b6;
$custom-dark: #000000;
JSON
{
  "hex": "#303a96",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 234.118,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.14951,
    "h": 272.9
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#303A96
secondary
#B9B169
accent
#CD4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303A96

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

Preview Lab → · Contrast checker → · Palette generator →

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