#306C98#306C98

#306C98 is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.2% C 0.094 H 243.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#306C98
RGBrgb(48, 108, 152)
HSLhsl(205, 52%, 39%)
HSVhsv(205, 68%, 60%)
CMYKcmyk(68.4%, 28.9%, 0%, 40.4%)
CIE-LABlab(43.68, -4.71, -29.63)
CIE-LCHlch(43.68, 30.00, 260.97°)
OKLaboklab(51.2% -0.042 -0.0836)
OKLCHoklch(51.2% 0.094 243.3)
XYZxyz(12.2468, 13.6192, 31.6830)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C98 #985C30
analogous
#309890 #306C98 #303898
triadic
#306C98 #98306C #6C9830
tetradic
#306C98 #903098 #985C30 #389830
square
#306C98 #903098 #985C30 #389830
split-complementary
#306C98 #983038 #989030
monochromatic
#132A3B #214B69 #306C98 #428DC3 #70A9D2

Accessibility & contrast

On white

5.64
#306C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#306C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C98
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C98#FFFFFF#000000##FFFFFF
##306C981.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#4A6397
Tritanopia (blue-blind)
#00777B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #306c98;
/* rgb */ color: rgb(48, 108, 152);
/* oklch */ color: oklch(51.2% 0.094 243.3);
Tailwind
colors: {
  custom: {
    50: '#7495b6',
    500: '#306c98',
    950: '#000000',
  },
}
SCSS
$custom: #306c98;
$custom-light: #7495b6;
$custom-dark: #000000;
JSON
{
  "hex": "#306c98",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 152
  },
  "hsl": {
    "h": 205.385,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.09354,
    "h": 243.3
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#306C98
secondary
#BA8C6A
accent
#894CDB
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #306C98

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

Preview Lab → · Contrast checker → · Palette generator →

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