#306D7E#306D7E

#306D7E is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.2% C 0.068 H 218.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#306D7E
RGBrgb(48, 109, 126)
HSLhsl(193, 45%, 34%)
HSVhsv(193, 62%, 49%)
CMYKcmyk(61.9%, 13.5%, 0%, 50.6%)
CIE-LABlab(42.87, -14.20, -15.34)
CIE-LCHlch(42.87, 20.90, 227.19°)
OKLaboklab(50.18% -0.0529 -0.0426)
OKLCHoklch(50.18% 0.068 218.8)
XYZxyz(10.4520, 13.0710, 21.7067)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D7E #7E4130
analogous
#307E68 #306D7E #30467E
triadic
#306D7E #7E306D #6D7E30
tetradic
#306D7E #68307E #7E4130 #467E30
square
#306D7E #68307E #7E4130 #467E30
split-complementary
#306D7E #7E3046 #7E6830
monochromatic
#0E2025 #1F4752 #306D7E #4193AA #64AFC4

Accessibility & contrast

On white

5.81
#306D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#306D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D7E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D7E#FFFFFF#000000##FFFFFF
##306D7E1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626A7F
Deuteranopia (green-blind)
#57627E
Tritanopia (blue-blind)
#007372
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #306d7e;
/* rgb */ color: rgb(48, 109, 126);
/* oklch */ color: oklch(50.2% 0.068 218.8);
Tailwind
colors: {
  custom: {
    50: '#7197a3',
    500: '#306d7e',
    950: '#000000',
  },
}
SCSS
$custom: #306d7e;
$custom-light: #7197a3;
$custom-dark: #000000;
JSON
{
  "hex": "#306d7e",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 126
  },
  "hsl": {
    "h": 193.077,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.06794,
    "h": 218.8
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#306D7E
secondary
#AB6F5F
accent
#6F53D5
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #306D7E

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

Preview Lab → · Contrast checker → · Palette generator →

#306D7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva