#306C8A#306C8A

#306C8A is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.5% C 0.078 H 233.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#306C8A
RGBrgb(48, 108, 138)
HSLhsl(200, 48%, 36%)
HSVhsv(200, 65%, 54%)
CMYKcmyk(65.2%, 21.7%, 0%, 45.9%)
CIE-LABlab(43.04, -9.61, -22.27)
CIE-LCHlch(43.04, 24.26, 246.66°)
OKLaboklab(50.49% -0.0469 -0.0624)
OKLCHoklch(50.49% 0.078 233)
XYZxyz(11.1672, 13.1873, 25.9967)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C8A #8A4E30
analogous
#308A7B #306C8A #303F8A
triadic
#306C8A #8A306C #6C8A30
tetradic
#306C8A #7B308A #8A4E30 #3F8A30
square
#306C8A #7B308A #8A4E30 #3F8A30
split-complementary
#306C8A #8A303F #8A7B30
monochromatic
#10252F #20485D #306C8A #4090B7 #69AACB

Accessibility & contrast

On white

5.77
#306C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#306C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C8A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C8A#FFFFFF#000000##FFFFFF
##306C8A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8B
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #306c8a;
/* rgb */ color: rgb(48, 108, 138);
/* oklch */ color: oklch(50.5% 0.078 233.0);
Tailwind
colors: {
  custom: {
    50: '#7296ac',
    500: '#306c8a',
    950: '#000000',
  },
}
SCSS
$custom: #306c8a;
$custom-light: #7296ac;
$custom-dark: #000000;
JSON
{
  "hex": "#306c8a",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 200,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.07806,
    "h": 233
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#306C8A
secondary
#B27E64
accent
#7D50D8
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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