#303490#303490

#303490 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.149 H 274.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#303490
RGBrgb(48, 52, 144)
HSLhsl(238, 50%, 38%)
HSVhsv(238, 67%, 56%)
CMYKcmyk(66.7%, 63.9%, 0%, 43.5%)
CIE-LABlab(27.01, 28.87, -51.45)
CIE-LCHlch(27.01, 59.00, 299.30°)
OKLaboklab(38.25% 0.0128 -0.1483)
OKLCHoklch(38.25% 0.149 274.9)
XYZxyz(7.4793, 5.0973, 26.9699)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303490 #908C30
analogous
#306490 #303490 #5C3090
triadic
#303490 #903034 #349030
tetradic
#303490 #903064 #908C30 #30905C
square
#303490 #903064 #908C30 #30905C
split-complementary
#303490 #905C30 #649030
monochromatic
#111334 #212362 #303490 #3F45BE #6C70CE

Accessibility & contrast

On white

10.40
#303490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#303490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303490
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303490#FFFFFF#000000##FFFFFF
##3034901.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #303490;
/* rgb */ color: rgb(48, 52, 144);
/* oklch */ color: oklch(38.2% 0.149 274.9);
Tailwind
colors: {
  custom: {
    50: '#746bb1',
    500: '#303490',
    950: '#000000',
  },
}
SCSS
$custom: #303490;
$custom-light: #746bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#303490",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 237.5,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38248,
    "c": 0.14884,
    "h": 274.9
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#303490
secondary
#B5B266
accent
#D44EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #303490

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

Preview Lab → · Contrast checker → · Palette generator →

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