#303983#303983

#303983 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.124 H 273.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#303983
RGBrgb(48, 57, 131)
HSLhsl(233, 46%, 35%)
HSVhsv(233, 63%, 51%)
CMYKcmyk(63.4%, 56.5%, 0%, 48.6%)
CIE-LABlab(27.28, 20.80, -42.95)
CIE-LCHlch(27.28, 47.72, 295.84°)
OKLaboklab(38.12% 0.0081 -0.1232)
OKLCHoklch(38.12% 0.124 273.8)
XYZxyz(6.7774, 5.1928, 22.1135)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303983 #837A30
analogous
#306283 #303983 #503083
triadic
#303983 #833039 #398330
tetradic
#303983 #833062 #837A30 #308350
square
#303983 #833062 #837A30 #308350
split-complementary
#303983 #835030 #628330
monochromatic
#0F1229 #202656 #303983 #404CB0 #6671C7

Accessibility & contrast

On white

10.30
#303983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#303983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303983
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303983#FFFFFF#000000##FFFFFF
##3039831.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044486
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #303983;
/* rgb */ color: rgb(48, 57, 131);
/* oklch */ color: oklch(38.1% 0.124 273.8);
Tailwind
colors: {
  custom: {
    50: '#716fa8',
    500: '#303983',
    950: '#000000',
  },
}
SCSS
$custom: #303983;
$custom-light: #716fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#303983",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 233.494,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38116,
    "c": 0.12352,
    "h": 273.8
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#303983
secondary
#AEA661
accent
#C852D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #303983

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

Preview Lab → · Contrast checker → · Palette generator →

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