#303688#303688

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

Color values

HEX#303688
RGBrgb(48, 54, 136)
HSLhsl(236, 48%, 36%)
HSVhsv(236, 65%, 53%)
CMYKcmyk(64.7%, 60.3%, 0%, 46.7%)
CIE-LABlab(26.86, 24.65, -46.74)
CIE-LCHlch(26.86, 52.84, 297.81°)
OKLaboklab(37.93% 0.0113 -0.1344)
OKLCHoklch(37.93% 0.135 274.8)
XYZxyz(6.9806, 5.0437, 23.8935)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303688 #888230
analogous
#306288 #303688 #563088
triadic
#303688 #883036 #368830
tetradic
#303688 #883062 #888230 #308856
square
#303688 #883062 #888230 #308856
split-complementary
#303688 #885630 #628830
monochromatic
#10122E #20245B #303688 #4048B5 #696FCA

Accessibility & contrast

On white

10.45
#303688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#303688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303688
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303688#FFFFFF#000000##FFFFFF
##3036881.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303688;
/* rgb */ color: rgb(48, 54, 136);
/* oklch */ color: oklch(37.9% 0.135 274.8);
Tailwind
colors: {
  custom: {
    50: '#736dab',
    500: '#303688',
    950: '#000000',
  },
}
SCSS
$custom: #303688;
$custom-light: #736dab;
$custom-dark: #000000;
JSON
{
  "hex": "#303688",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 235.909,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37928,
    "c": 0.13491,
    "h": 274.8
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#303688
secondary
#B1AC63
accent
#CE50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #303688

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

Preview Lab → · Contrast checker → · Palette generator →

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