#303BA9#303BA9

#303BA9 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.174 H 271.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#303BA9
RGBrgb(48, 59, 169)
HSLhsl(235, 56%, 43%)
HSVhsv(235, 72%, 66%)
CMYKcmyk(71.6%, 65.1%, 0%, 33.7%)
CIE-LABlab(30.93, 33.32, -60.25)
CIE-LCHlch(30.93, 68.85, 298.94°)
OKLaboklab(41.79% 0.0059 -0.1741)
OKLCHoklch(41.79% 0.174 271.9)
XYZxyz(9.9419, 6.6199, 38.2822)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303BA9 #A99E30
analogous
#3078A9 #303BA9 #6130A9
triadic
#303BA9 #A9303B #3BA930
tetradic
#303BA9 #A93078 #A99E30 #30A961
square
#303BA9 #A93078 #A99E30 #30A961
split-complementary
#303BA9 #A96130 #78A930
monochromatic
#151A4A #222A79 #303BA9 #4A56CC #7A83D9

Accessibility & contrast

On white

9.04
#303BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#303BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303BA9
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303BA9#FFFFFF#000000##FFFFFF
##303BA91.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #303ba9;
/* rgb */ color: rgb(48, 59, 169);
/* oklch */ color: oklch(41.8% 0.174 271.9);
Tailwind
colors: {
  custom: {
    50: '#7971c4',
    500: '#303ba9',
    950: '#000000',
  },
}
SCSS
$custom: #303ba9;
$custom-light: #7971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#303ba9",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 234.545,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.17416,
    "h": 271.9
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#303BA9
secondary
#C2BB73
accent
#D149DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #303BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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