#303693#303693

#303693 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.150 H 274.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#303693
RGBrgb(48, 54, 147)
HSLhsl(236, 51%, 38%)
HSVhsv(236, 67%, 58%)
CMYKcmyk(67.3%, 63.3%, 0%, 42.4%)
CIE-LABlab(27.77, 28.64, -52.05)
CIE-LCHlch(27.77, 59.41, 298.82°)
OKLaboklab(38.89% 0.011 -0.15)
OKLCHoklch(38.89% 0.15 274.2)
XYZxyz(7.8028, 5.3726, 28.2239)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303693 #938D30
analogous
#306793 #303693 #5B3093
triadic
#303693 #933036 #369330
tetradic
#303693 #933067 #938D30 #30935B
square
#303693 #933067 #938D30 #30935B
split-complementary
#303693 #935B30 #679330
monochromatic
#121437 #212565 #303693 #4047C1 #6E74D0

Accessibility & contrast

On white

10.12
#303693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303693
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303693#FFFFFF#000000##FFFFFF
##3036931.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303693;
/* rgb */ color: rgb(48, 54, 147);
/* oklch */ color: oklch(38.9% 0.150 274.2);
Tailwind
colors: {
  custom: {
    50: '#756db3',
    500: '#303693',
    950: '#000000',
  },
}
SCSS
$custom: #303693;
$custom-light: #756db3;
$custom-dark: #000000;
JSON
{
  "hex": "#303693",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 147
  },
  "hsl": {
    "h": 236.364,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.15045,
    "h": 274.2
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#303693
secondary
#B7B268
accent
#D24EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303693

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

Preview Lab → · Contrast checker → · Palette generator →

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