#306FBF#306FBF

#306FBF is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.141 H 255.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#306FBF
RGBrgb(48, 111, 191)
HSLhsl(214, 60%, 47%)
HSVhsv(214, 75%, 75%)
CMYKcmyk(74.9%, 41.9%, 0%, 25.1%)
CIE-LABlab(46.65, 7.75, -47.77)
CIE-LCHlch(46.65, 48.39, 279.22°)
OKLaboklab(54.21% -0.0344 -0.1366)
OKLCHoklch(54.21% 0.141 255.9)
XYZxyz(16.3039, 15.7570, 51.4623)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FBF #BF8030
analogous
#30B7BF #306FBF #3830BF
triadic
#306FBF #BF306F #6FBF30
tetradic
#306FBF #BF30B7 #BF8030 #30BF38
square
#306FBF #BF30B7 #BF8030 #30BF38
split-complementary
#306FBF #BF3830 #B7BF30
monochromatic
#17365D #24538E #306FBF #578FD5 #88AFE1

Accessibility & contrast

On white

5.06
#306FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#306FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FBF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FBF#FFFFFF#000000##FFFFFF
##306FBF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#2F69BD
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #306fbf;
/* rgb */ color: rgb(48, 111, 191);
/* oklch */ color: oklch(54.2% 0.141 255.9);
Tailwind
colors: {
  custom: {
    50: '#7c97d3',
    500: '#306fbf',
    950: '#000000',
  },
}
SCSS
$custom: #306fbf;
$custom-light: #7c97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#306fbf",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 213.566,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.14082,
    "h": 255.9
  },
  "luminance": 0.15759
}

Semantic roles & 50–950 ramp

primary
#306FBF
secondary
#CBAA80
accent
#9D45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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