#303A86#303A86

#303A86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.127 H 273.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#303A86
RGBrgb(48, 58, 134)
HSLhsl(233, 47%, 36%)
HSVhsv(233, 64%, 53%)
CMYKcmyk(64.2%, 56.7%, 0%, 47.5%)
CIE-LABlab(27.78, 21.22, -44.00)
CIE-LCHlch(27.78, 48.85, 295.75°)
OKLaboklab(38.56% 0.0073 -0.1263)
OKLCHoklch(38.56% 0.127 273.3)
XYZxyz(7.0336, 5.3751, 23.2165)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A86 #867C30
analogous
#306586 #303A86 #513086
triadic
#303A86 #86303A #3A8630
tetradic
#303A86 #863065 #867C30 #308651
square
#303A86 #863065 #867C30 #308651
split-complementary
#303A86 #865130 #658630
monochromatic
#10132C #202659 #303A86 #404EB3 #6873C9

Accessibility & contrast

On white

10.12
#303A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#303A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A86
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A86#FFFFFF#000000##FFFFFF
##303A861.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014589
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303a86;
/* rgb */ color: rgb(48, 58, 134);
/* oklch */ color: oklch(38.6% 0.127 273.3);
Tailwind
colors: {
  custom: {
    50: '#7270aa',
    500: '#303a86',
    950: '#000000',
  },
}
SCSS
$custom: #303a86;
$custom-light: #7270aa;
$custom-dark: #000000;
JSON
{
  "hex": "#303a86",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 233.023,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.12656,
    "h": 273.3
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#303A86
secondary
#B0A762
accent
#C751D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #303A86

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

Preview Lab → · Contrast checker → · Palette generator →

#303A86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva