#305986#305986

#305986 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.6% C 0.087 H 252.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#305986
RGBrgb(48, 89, 134)
HSLhsl(211, 47%, 36%)
HSVhsv(211, 64%, 53%)
CMYKcmyk(64.2%, 33.6%, 0%, 47.5%)
CIE-LABlab(36.92, 0.58, -29.41)
CIE-LCHlch(36.92, 29.42, 271.14°)
OKLaboklab(45.58% -0.0267 -0.0831)
OKLCHoklch(45.58% 0.087 252.2)
XYZxyz(9.0928, 9.4935, 23.9029)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305986 #865D30
analogous
#308486 #305986 #323086
triadic
#305986 #863059 #598630
tetradic
#305986 #863084 #865D30 #308632
square
#305986 #863084 #865D30 #308632
split-complementary
#305986 #863230 #848630
monochromatic
#101D2C #203B59 #305986 #4077B3 #6896C9

Accessibility & contrast

On white

7.24
#305986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#305986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305986
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305986#FFFFFF#000000##FFFFFF
##3059861.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B88
Deuteranopia (green-blind)
#3A5385
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305986;
/* rgb */ color: rgb(48, 89, 134);
/* oklch */ color: oklch(45.6% 0.087 252.2);
Tailwind
colors: {
  custom: {
    50: '#7187a9',
    500: '#305986',
    950: '#000000',
  },
}
SCSS
$custom: #305986;
$custom-light: #7187a9;
$custom-dark: #000000;
JSON
{
  "hex": "#305986",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 211.395,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.08732,
    "h": 252.2
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#305986
secondary
#B08B62
accent
#9751D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305986

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

Preview Lab → · Contrast checker → · Palette generator →

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