#306D8B#306D8B

#306D8B is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 50.8% C 0.079 H 232.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#306D8B
RGBrgb(48, 109, 139)
HSLhsl(200, 49%, 37%)
HSVhsv(200, 65%, 55%)
CMYKcmyk(65.5%, 21.6%, 0%, 45.5%)
CIE-LABlab(43.40, -9.85, -22.32)
CIE-LCHlch(43.40, 24.40, 246.18°)
OKLaboklab(50.79% -0.0477 -0.0625)
OKLCHoklch(50.79% 0.079 232.7)
XYZxyz(11.3460, 13.4286, 26.4151)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D8B #8B4E30
analogous
#308B7C #306D8B #30408B
triadic
#306D8B #8B306D #6D8B30
tetradic
#306D8B #7C308B #8B4E30 #408B30
square
#306D8B #7C308B #8B4E30 #408B30
split-complementary
#306D8B #8B3040 #8B7C30
monochromatic
#112630 #20495E #306D8B #4091B8 #6AABCC

Accessibility & contrast

On white

5.70
#306D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#306D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D8B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D8B#FFFFFF#000000##FFFFFF
##306D8B1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8C
Deuteranopia (green-blind)
#52628B
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #306d8b;
/* rgb */ color: rgb(48, 109, 139);
/* oklch */ color: oklch(50.8% 0.079 232.7);
Tailwind
colors: {
  custom: {
    50: '#7296ad',
    500: '#306d8b',
    950: '#000000',
  },
}
SCSS
$custom: #306d8b;
$custom-light: #7296ad;
$custom-dark: #000000;
JSON
{
  "hex": "#306d8b",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 139
  },
  "hsl": {
    "h": 199.78,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50785,
    "c": 0.07861,
    "h": 232.7
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#306D8B
secondary
#B37E64
accent
#7D50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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