#303B89#303B89

#303B89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.130 H 272.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#303B89
RGBrgb(48, 59, 137)
HSLhsl(233, 48%, 36%)
HSVhsv(233, 65%, 54%)
CMYKcmyk(65%, 56.9%, 0%, 46.3%)
CIE-LABlab(28.28, 21.65, -45.06)
CIE-LCHlch(28.28, 49.99, 295.66°)
OKLaboklab(39.01% 0.0064 -0.1294)
OKLCHoklch(39.01% 0.13 272.8)
XYZxyz(7.2967, 5.5618, 24.3511)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B89 #897E30
analogous
#306889 #303B89 #523089
triadic
#303B89 #89303B #3B8930
tetradic
#303B89 #893068 #897E30 #308952
square
#303B89 #893068 #897E30 #308952
split-complementary
#303B89 #895230 #688930
monochromatic
#10142E #20275C #303B89 #404FB6 #6975CA

Accessibility & contrast

On white

9.94
#303B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#303B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B89
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B89#FFFFFF#000000##FFFFFF
##303B891.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #303b89;
/* rgb */ color: rgb(48, 59, 137);
/* oklch */ color: oklch(39.0% 0.130 272.8);
Tailwind
colors: {
  custom: {
    50: '#7270ac',
    500: '#303b89',
    950: '#000000',
  },
}
SCSS
$custom: #303b89;
$custom-light: #7270ac;
$custom-dark: #000000;
JSON
{
  "hex": "#303b89",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 232.584,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3901,
    "c": 0.12959,
    "h": 272.8
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#303B89
secondary
#B2A863
accent
#C750D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303B89

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

Preview Lab → · Contrast checker → · Palette generator →

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