#303A89#303A89

#303A89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.131 H 273.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#303A89
RGBrgb(48, 58, 137)
HSLhsl(233, 48%, 36%)
HSVhsv(233, 65%, 54%)
CMYKcmyk(65%, 57.7%, 0%, 46.3%)
CIE-LABlab(28.01, 22.32, -45.50)
CIE-LCHlch(28.01, 50.68, 296.13°)
OKLaboklab(38.81% 0.0074 -0.1307)
OKLCHoklch(38.81% 0.131 273.2)
XYZxyz(7.2458, 5.4600, 24.3341)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A89 #897F30
analogous
#306789 #303A89 #533089
triadic
#303A89 #89303A #3A8930
tetradic
#303A89 #893067 #897F30 #308953
square
#303A89 #893067 #897F30 #308953
split-complementary
#303A89 #895330 #678930
monochromatic
#10142E #20275C #303A89 #404DB6 #6974CA

Accessibility & contrast

On white

10.04
#303A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#303A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A89
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A89#FFFFFF#000000##FFFFFF
##303A891.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303a89;
/* rgb */ color: rgb(48, 58, 137);
/* oklch */ color: oklch(38.8% 0.131 273.2);
Tailwind
colors: {
  custom: {
    50: '#7370ac',
    500: '#303a89',
    950: '#000000',
  },
}
SCSS
$custom: #303a89;
$custom-light: #7370ac;
$custom-dark: #000000;
JSON
{
  "hex": "#303a89",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 233.258,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38807,
    "c": 0.13095,
    "h": 273.2
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#303A89
secondary
#B2A963
accent
#C850D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303A89

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

Preview Lab → · Contrast checker → · Palette generator →

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