#305386#305386

#305386 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.094 H 257.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#305386
RGBrgb(48, 83, 134)
HSLhsl(216, 47%, 36%)
HSVhsv(216, 64%, 53%)
CMYKcmyk(64.2%, 38.1%, 0%, 47.5%)
CIE-LABlab(35.07, 4.44, -32.32)
CIE-LCHlch(35.07, 32.63, 277.83°)
OKLaboklab(44.14% -0.0198 -0.0917)
OKLCHoklch(44.14% 0.094 257.8)
XYZxyz(8.6137, 8.5353, 23.7432)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305386 #866330
analogous
#307E86 #305386 #383086
triadic
#305386 #863053 #538630
tetradic
#305386 #86307E #866330 #308638
square
#305386 #86307E #866330 #308638
split-complementary
#305386 #863830 #7E8630
monochromatic
#101B2C #203759 #305386 #406FB3 #688FC9

Accessibility & contrast

On white

7.76
#305386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#305386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305386
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305386#FFFFFF#000000##FFFFFF
##3053861.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305386;
/* rgb */ color: rgb(48, 83, 134);
/* oklch */ color: oklch(44.1% 0.094 257.8);
Tailwind
colors: {
  custom: {
    50: '#7183a9',
    500: '#305386',
    950: '#000000',
  },
}
SCSS
$custom: #305386;
$custom-light: #7183a9;
$custom-dark: #000000;
JSON
{
  "hex": "#305386",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 134
  },
  "hsl": {
    "h": 215.581,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44143,
    "c": 0.09383,
    "h": 257.8
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#305386
secondary
#B09062
accent
#A051D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #305386

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

Preview Lab → · Contrast checker → · Palette generator →

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