#303B8D#303B8D

#303B8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.135 H 272.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#303B8D
RGBrgb(48, 59, 141)
HSLhsl(233, 49%, 37%)
HSVhsv(233, 66%, 55%)
CMYKcmyk(66%, 58.2%, 0%, 44.7%)
CIE-LABlab(28.59, 23.12, -47.03)
CIE-LCHlch(28.59, 52.41, 296.18°)
OKLaboklab(39.34% 0.0065 -0.1352)
OKLCHoklch(39.34% 0.135 272.8)
XYZxyz(7.5890, 5.6787, 25.8903)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B8D #8D8230
analogous
#306A8D #303B8D #54308D
triadic
#303B8D #8D303B #3B8D30
tetradic
#303B8D #8D306A #8D8230 #308D54
square
#303B8D #8D306A #8D8230 #308D54
split-complementary
#303B8D #8D5430 #6A8D30
monochromatic
#111532 #20285F #303B8D #404EBB #6B76CD

Accessibility & contrast

On white

9.83
#303B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303B8D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B8D#FFFFFF#000000##FFFFFF
##303B8D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #303b8d;
/* rgb */ color: rgb(48, 59, 141);
/* oklch */ color: oklch(39.3% 0.135 272.8);
Tailwind
colors: {
  custom: {
    50: '#7370af',
    500: '#303b8d',
    950: '#000000',
  },
}
SCSS
$custom: #303b8d;
$custom-light: #7370af;
$custom-dark: #000000;
JSON
{
  "hex": "#303b8d",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 232.903,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.1354,
    "h": 272.8
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#303B8D
secondary
#B4AB65
accent
#C84FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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