#303687#303687

#303687 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.133 H 274.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#303687
RGBrgb(48, 54, 135)
HSLhsl(236, 48%, 36%)
HSVhsv(236, 64%, 53%)
CMYKcmyk(64.4%, 60%, 0%, 47.1%)
CIE-LABlab(26.78, 24.29, -46.25)
CIE-LCHlch(26.78, 52.24, 297.71°)
OKLaboklab(37.84% 0.0113 -0.133)
OKLCHoklch(37.84% 0.133 274.8)
XYZxyz(6.9098, 5.0154, 23.5209)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303687 #878130
analogous
#306187 #303687 #553087
triadic
#303687 #873036 #368730
tetradic
#303687 #873061 #878130 #308755
square
#303687 #873061 #878130 #308755
split-complementary
#303687 #875530 #618730
monochromatic
#10122D #20245A #303687 #4048B4 #686FC9

Accessibility & contrast

On white

10.48
#303687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#303687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303687
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303687#FFFFFF#000000##FFFFFF
##3036871.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303687;
/* rgb */ color: rgb(48, 54, 135);
/* oklch */ color: oklch(37.8% 0.133 274.8);
Tailwind
colors: {
  custom: {
    50: '#726dab',
    500: '#303687',
    950: '#000000',
  },
}
SCSS
$custom: #303687;
$custom-light: #726dab;
$custom-dark: #000000;
JSON
{
  "hex": "#303687",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 235.862,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37843,
    "c": 0.13346,
    "h": 274.8
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#303687
secondary
#B1AB62
accent
#CE51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303687

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

Preview Lab → · Contrast checker → · Palette generator →

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