#303499#303499

#303499 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.161 H 274.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#303499
RGBrgb(48, 52, 153)
HSLhsl(238, 52%, 39%)
HSVhsv(238, 69%, 60%)
CMYKcmyk(68.6%, 66%, 0%, 40%)
CIE-LABlab(27.80, 32.09, -55.68)
CIE-LCHlch(27.80, 64.27, 299.96°)
OKLaboklab(39.07% 0.0122 -0.1607)
OKLCHoklch(39.07% 0.161 274.3)
XYZxyz(8.1948, 5.3835, 30.7381)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303499 #999530
analogous
#306999 #303499 #613099
triadic
#303499 #993034 #349930
tetradic
#303499 #993069 #999530 #309961
square
#303499 #993069 #999530 #309961
split-complementary
#303499 #996130 #699930
monochromatic
#13143C #21246A #303499 #4247C4 #7175D2

Accessibility & contrast

On white

10.11
#303499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#303499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303499
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303499#FFFFFF#000000##FFFFFF
##3034991.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303499;
/* rgb */ color: rgb(48, 52, 153);
/* oklch */ color: oklch(39.1% 0.161 274.3);
Tailwind
colors: {
  custom: {
    50: '#766cb8',
    500: '#303499',
    950: '#000000',
  },
}
SCSS
$custom: #303499;
$custom-light: #766cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#303499",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 237.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39071,
    "c": 0.16117,
    "h": 274.3
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#303499
secondary
#BAB76B
accent
#D64CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #303499

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

Preview Lab → · Contrast checker → · Palette generator →

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