#303692#303692

#303692 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.149 H 274.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#303692
RGBrgb(48, 54, 146)
HSLhsl(236, 51%, 38%)
HSVhsv(236, 67%, 57%)
CMYKcmyk(67.1%, 63%, 0%, 42.7%)
CIE-LABlab(27.69, 28.28, -51.58)
CIE-LCHlch(27.69, 58.82, 298.73°)
OKLaboklab(38.8% 0.011 -0.1487)
OKLCHoklch(38.8% 0.149 274.2)
XYZxyz(7.7247, 5.3414, 27.8125)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303692 #928C30
analogous
#306792 #303692 #5B3092
triadic
#303692 #923036 #369230
tetradic
#303692 #923067 #928C30 #30925B
square
#303692 #923067 #928C30 #30925B
split-complementary
#303692 #925B30 #679230
monochromatic
#121436 #212564 #303692 #3F47C0 #6D73CF

Accessibility & contrast

On white

10.15
#303692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#303692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303692
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303692#FFFFFF#000000##FFFFFF
##3036921.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #303692;
/* rgb */ color: rgb(48, 54, 146);
/* oklch */ color: oklch(38.8% 0.149 274.2);
Tailwind
colors: {
  custom: {
    50: '#756db3',
    500: '#303692',
    950: '#000000',
  },
}
SCSS
$custom: #303692;
$custom-light: #756db3;
$custom-dark: #000000;
JSON
{
  "hex": "#303692",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 146
  },
  "hsl": {
    "h": 236.327,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38798,
    "c": 0.14907,
    "h": 274.2
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#303692
secondary
#B7B267
accent
#D14EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303692

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

Preview Lab → · Contrast checker → · Palette generator →

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