#303086#303086

#303086 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.140 H 277.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#303086
RGBrgb(48, 48, 134)
HSLhsl(240, 47%, 36%)
HSVhsv(240, 64%, 53%)
CMYKcmyk(64.2%, 64.2%, 0%, 47.5%)
CIE-LABlab(25.15, 27.92, -48.28)
CIE-LCHlch(25.15, 55.77, 300.04°)
OKLaboklab(36.61% 0.017 -0.139)
OKLCHoklch(36.61% 0.14 277)
XYZxyz(6.5776, 4.4630, 23.0645)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303086 #868630
analogous
#305B86 #303086 #5B3086
triadic
#303086 #863030 #308630
tetradic
#303086 #86305B #868630 #30865B
square
#303086 #86305B #868630 #30865B
split-complementary
#303086 #865B30 #5B8630
monochromatic
#10102C #202059 #303086 #4040B3 #6868C9

Accessibility & contrast

On white

11.09
#303086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#303086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303086
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303086#FFFFFF#000000##FFFFFF
##3030861.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #303086;
/* rgb */ color: rgb(48, 48, 134);
/* oklch */ color: oklch(36.6% 0.140 277.0);
Tailwind
colors: {
  custom: {
    50: '#7368aa',
    500: '#303086',
    950: '#000000',
  },
}
SCSS
$custom: #303086;
$custom-light: #7368aa;
$custom-dark: #000000;
JSON
{
  "hex": "#303086",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36613,
    "c": 0.14005,
    "h": 277
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#303086
secondary
#B0B062
accent
#D751D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #303086

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

Preview Lab → · Contrast checker → · Palette generator →

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