#306FA4#306FA4

#306FA4 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.106 H 247.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#306FA4
RGBrgb(48, 111, 164)
HSLhsl(207, 55%, 42%)
HSVhsv(207, 71%, 64%)
CMYKcmyk(70.7%, 32.3%, 0%, 35.7%)
CIE-LABlab(45.19, -2.21, -34.36)
CIE-LCHlch(45.19, 34.43, 266.32°)
OKLaboklab(52.58% -0.0413 -0.0973)
OKLCHoklch(52.58% 0.106 247)
XYZxyz(13.6017, 14.6761, 37.2307)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FA4 #A46530
analogous
#30A49F #306FA4 #3035A4
triadic
#306FA4 #A4306F #6FA430
tetradic
#306FA4 #9F30A4 #A46530 #35A430
square
#306FA4 #9F30A4 #A46530 #35A430
split-complementary
#306FA4 #A43035 #A49F30
monochromatic
#142F45 #224F75 #306FA4 #488EC9 #77ABD7

Accessibility & contrast

On white

5.34
#306FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#306FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FA4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FA4#FFFFFF#000000##FFFFFF
##306FA41.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A6
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306fa4;
/* rgb */ color: rgb(48, 111, 164);
/* oklch */ color: oklch(52.6% 0.106 247.0);
Tailwind
colors: {
  custom: {
    50: '#7698bf',
    500: '#306fa4',
    950: '#000000',
  },
}
SCSS
$custom: #306fa4;
$custom-light: #7698bf;
$custom-dark: #000000;
JSON
{
  "hex": "#306fa4",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 207.414,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.10572,
    "h": 247
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#306FA4
secondary
#BF9470
accent
#8E4ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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