#306FBB#306FBB

#306FBB is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.0% C 0.136 H 254.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#306FBB
RGBrgb(48, 111, 187)
HSLhsl(213, 59%, 46%)
HSVhsv(213, 74%, 73%)
CMYKcmyk(74.3%, 40.6%, 0%, 26.7%)
CIE-LABlab(46.42, 6.26, -45.82)
CIE-LCHlch(46.42, 46.25, 277.78°)
OKLaboklab(53.95% -0.0352 -0.1308)
OKLCHoklch(53.95% 0.136 254.9)
XYZxyz(15.8697, 15.5833, 49.1756)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FBB #BB7C30
analogous
#30B4BB #306FBB #3630BB
triadic
#306FBB #BB306F #6FBB30
tetradic
#306FBB #BB30B4 #BB7C30 #30BB36
square
#306FBB #BB30B4 #BB7C30 #30BB36
split-complementary
#306FBB #BB3630 #B4BB30
monochromatic
#17355A #23528A #306FBB #558ED3 #86AEE0

Accessibility & contrast

On white

5.10
#306FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#306FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FBB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FBB#FFFFFF#000000##FFFFFF
##306FBB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306fbb;
/* rgb */ color: rgb(48, 111, 187);
/* oklch */ color: oklch(54.0% 0.136 254.9);
Tailwind
colors: {
  custom: {
    50: '#7b97d0',
    500: '#306fbb',
    950: '#000000',
  },
}
SCSS
$custom: #306fbb;
$custom-light: #7b97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#306fbb",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 212.806,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.13551,
    "h": 254.9
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#306FBB
secondary
#C9A77D
accent
#9B45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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