#303BB9#303BB9

#303BB9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.195 H 271.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#303BB9
RGBrgb(48, 59, 185)
HSLhsl(235, 59%, 46%)
HSVhsv(235, 74%, 73%)
CMYKcmyk(74.1%, 68.1%, 0%, 27.5%)
CIE-LABlab(32.39, 39.00, -67.38)
CIE-LCHlch(32.39, 77.86, 300.06°)
OKLaboklab(43.31% 0.0045 -0.1949)
OKLCHoklch(43.31% 0.195 271.3)
XYZxyz(11.5369, 7.2579, 46.6824)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303BB9 #B9AE30
analogous
#3080B9 #303BB9 #6930B9
triadic
#303BB9 #B9303B #3BB930
tetradic
#303BB9 #B93080 #B9AE30 #30B969
square
#303BB9 #B93080 #B9AE30 #30B969
split-complementary
#303BB9 #B96930 #80B930
monochromatic
#171C58 #232C88 #303BB9 #545ED3 #848CDF

Accessibility & contrast

On white

8.57
#303BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#303BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303BB9
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303BB9#FFFFFF#000000##FFFFFF
##303BB91.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #303bb9;
/* rgb */ color: rgb(48, 59, 185);
/* oklch */ color: oklch(43.3% 0.195 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d71cf',
    500: '#303bb9',
    950: '#000000',
  },
}
SCSS
$custom: #303bb9;
$custom-light: #7d71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#303bb9",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 235.182,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.19497,
    "h": 271.3
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#303BB9
secondary
#C9C27C
accent
#D546E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #303BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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