#303190#303190

#303190 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.153 H 275.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#303190
RGBrgb(48, 49, 144)
HSLhsl(239, 50%, 38%)
HSVhsv(239, 67%, 56%)
CMYKcmyk(66.7%, 66%, 0%, 43.5%)
CIE-LABlab(26.27, 30.83, -52.66)
CIE-LCHlch(26.27, 61.02, 300.34°)
OKLaboklab(37.71% 0.0153 -0.1519)
OKLCHoklch(37.71% 0.153 275.8)
XYZxyz(7.3496, 4.8380, 26.9267)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303190 #908F30
analogous
#306190 #303190 #5F3090
triadic
#303190 #903031 #319030
tetradic
#303190 #903061 #908F30 #30905F
square
#303190 #903061 #908F30 #30905F
split-complementary
#303190 #905F30 #619030
monochromatic
#111234 #212162 #303190 #3F41BE #6C6DCE

Accessibility & contrast

On white

10.67
#303190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#303190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303190
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303190#FFFFFF#000000##FFFFFF
##3031901.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #303190;
/* rgb */ color: rgb(48, 49, 144);
/* oklch */ color: oklch(37.7% 0.153 275.8);
Tailwind
colors: {
  custom: {
    50: '#7569b1',
    500: '#303190',
    950: '#000000',
  },
}
SCSS
$custom: #303190;
$custom-light: #7569b1;
$custom-dark: #000000;
JSON
{
  "hex": "#303190",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 239.375,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.15264,
    "h": 275.8
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#303190
secondary
#B5B566
accent
#D84EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #303190

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

Preview Lab → · Contrast checker → · Palette generator →

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