#305286#305286

#305286 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.095 H 258.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#305286
RGBrgb(48, 82, 134)
HSLhsl(216, 47%, 36%)
HSVhsv(216, 64%, 53%)
CMYKcmyk(64.2%, 38.8%, 0%, 47.5%)
CIE-LABlab(34.77, 5.10, -32.81)
CIE-LCHlch(34.77, 33.20, 278.83°)
OKLaboklab(43.91% -0.0187 -0.0931)
OKLCHoklch(43.91% 0.095 258.6)
XYZxyz(8.5378, 8.3834, 23.7179)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305286 #866430
analogous
#307D86 #305286 #393086
triadic
#305286 #863052 #528630
tetradic
#305286 #86307D #866430 #308639
square
#305286 #86307D #866430 #308639
split-complementary
#305286 #863930 #7D8630
monochromatic
#101B2C #203659 #305286 #406EB3 #688EC9

Accessibility & contrast

On white

7.85
#305286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#305286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305286
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305286#FFFFFF#000000##FFFFFF
##3052861.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5688
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305286;
/* rgb */ color: rgb(48, 82, 134);
/* oklch */ color: oklch(43.9% 0.095 258.6);
Tailwind
colors: {
  custom: {
    50: '#7182a9',
    500: '#305286',
    950: '#000000',
  },
}
SCSS
$custom: #305286;
$custom-light: #7182a9;
$custom-dark: #000000;
JSON
{
  "hex": "#305286",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 216.279,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.09499,
    "h": 258.6
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#305286
secondary
#B09162
accent
#A251D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #305286

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

Preview Lab → · Contrast checker → · Palette generator →

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