#306FA7#306FA7

#306FA7 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.109 H 248.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#306FA7
RGBrgb(48, 111, 167)
HSLhsl(208, 55%, 42%)
HSVhsv(208, 71%, 65%)
CMYKcmyk(71.3%, 33.5%, 0%, 34.5%)
CIE-LABlab(45.34, -1.12, -35.88)
CIE-LCHlch(45.34, 35.90, 268.21°)
OKLaboklab(52.75% -0.0404 -0.1017)
OKLCHoklch(52.75% 0.109 248.3)
XYZxyz(13.8758, 14.7858, 38.6744)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FA7 #A76830
analogous
#30A7A4 #306FA7 #3034A7
triadic
#306FA7 #A7306F #6FA730
tetradic
#306FA7 #A430A7 #A76830 #34A730
square
#306FA7 #A430A7 #A76830 #34A730
split-complementary
#306FA7 #A73034 #A7A430
monochromatic
#153048 #224F77 #306FA7 #498ECB #79ACD8

Accessibility & contrast

On white

5.31
#306FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#306FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FA7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FA7#FFFFFF#000000##FFFFFF
##306FA71.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672A9
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306fa7;
/* rgb */ color: rgb(48, 111, 167);
/* oklch */ color: oklch(52.8% 0.109 248.3);
Tailwind
colors: {
  custom: {
    50: '#7798c1',
    500: '#306fa7',
    950: '#000000',
  },
}
SCSS
$custom: #306fa7;
$custom-light: #7798c1;
$custom-dark: #000000;
JSON
{
  "hex": "#306fa7",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 208.235,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.10948,
    "h": 248.3
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#306FA7
secondary
#C19772
accent
#9049DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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