#306898#306898

#306898 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.2% C 0.097 H 247.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#306898
RGBrgb(48, 104, 152)
HSLhsl(208, 52%, 39%)
HSVhsv(208, 68%, 60%)
CMYKcmyk(68.4%, 31.6%, 0%, 40.4%)
CIE-LABlab(42.45, -2.28, -31.56)
CIE-LCHlch(42.45, 31.64, 265.88°)
OKLaboklab(50.23% -0.0377 -0.0892)
OKLCHoklch(50.23% 0.097 247.1)
XYZxyz(11.8346, 12.7948, 31.5456)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306898 #986030
analogous
#309894 #306898 #303498
triadic
#306898 #983068 #689830
tetradic
#306898 #943098 #986030 #349830
square
#306898 #943098 #986030 #349830
split-complementary
#306898 #983034 #989430
monochromatic
#13283B #214869 #306898 #4288C3 #70A5D2

Accessibility & contrast

On white

5.90
#306898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#306898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306898
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306898#FFFFFF#000000##FFFFFF
##3068981.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A9A
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #306898;
/* rgb */ color: rgb(48, 104, 152);
/* oklch */ color: oklch(50.2% 0.097 247.1);
Tailwind
colors: {
  custom: {
    50: '#7492b6',
    500: '#306898',
    950: '#000000',
  },
}
SCSS
$custom: #306898;
$custom-light: #7492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#306898",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 152
  },
  "hsl": {
    "h": 207.692,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.09688,
    "h": 247.1
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#306898
secondary
#BA8F6A
accent
#8E4CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #306898

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

Preview Lab → · Contrast checker → · Palette generator →

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