#303090#303090

#303090 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.154 H 276.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#303090
RGBrgb(48, 48, 144)
HSLhsl(240, 50%, 38%)
HSVhsv(240, 67%, 56%)
CMYKcmyk(66.7%, 66.7%, 0%, 43.5%)
CIE-LABlab(26.03, 31.47, -53.06)
CIE-LCHlch(26.03, 61.69, 300.67°)
OKLaboklab(37.53% 0.0162 -0.153)
OKLCHoklch(37.53% 0.154 276)
XYZxyz(7.3083, 4.7553, 26.9129)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303090 #909030
analogous
#306090 #303090 #603090
triadic
#303090 #903030 #309030
tetradic
#303090 #903060 #909030 #309060
square
#303090 #903060 #909030 #309060
split-complementary
#303090 #906030 #609030
monochromatic
#111134 #212162 #303090 #3F3FBE #6C6CCE

Accessibility & contrast

On white

10.76
#303090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#303090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303090
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303090#FFFFFF#000000##FFFFFF
##3030901.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #303090;
/* rgb */ color: rgb(48, 48, 144);
/* oklch */ color: oklch(37.5% 0.154 276.0);
Tailwind
colors: {
  custom: {
    50: '#7569b1',
    500: '#303090',
    950: '#000000',
  },
}
SCSS
$custom: #303090;
$custom-light: #7569b1;
$custom-dark: #000000;
JSON
{
  "hex": "#303090",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.15388,
    "h": 276
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303090

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

Preview Lab → · Contrast checker → · Palette generator →

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