#303189#303189

#303189 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.143 H 276.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#303189
RGBrgb(48, 49, 137)
HSLhsl(239, 48%, 36%)
HSVhsv(239, 65%, 54%)
CMYKcmyk(65%, 64.2%, 0%, 46.3%)
CIE-LABlab(25.66, 28.34, -49.32)
CIE-LCHlch(25.66, 56.88, 299.88°)
OKLaboklab(37.07% 0.0159 -0.1421)
OKLCHoklch(37.07% 0.143 276.4)
XYZxyz(6.8311, 4.6306, 24.1959)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303189 #898830
analogous
#305E89 #303189 #5C3089
triadic
#303189 #893031 #318930
tetradic
#303189 #89305E #898830 #30895C
square
#303189 #89305E #898830 #30895C
split-complementary
#303189 #895C30 #5E8930
monochromatic
#10112E #20215C #303189 #4041B6 #696ACA

Accessibility & contrast

On white

10.90
#303189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#303189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303189
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303189#FFFFFF#000000##FFFFFF
##3031891.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #303189;
/* rgb */ color: rgb(48, 49, 137);
/* oklch */ color: oklch(37.1% 0.143 276.4);
Tailwind
colors: {
  custom: {
    50: '#7369ac',
    500: '#303189',
    950: '#000000',
  },
}
SCSS
$custom: #303189;
$custom-light: #7369ac;
$custom-dark: #000000;
JSON
{
  "hex": "#303189",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 239.326,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37066,
    "c": 0.14295,
    "h": 276.4
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#303189
secondary
#B2B163
accent
#D650D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303189

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

Preview Lab → · Contrast checker → · Palette generator →

#303189 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva