#306FB6#306FB6

#306FB6 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.129 H 253.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#306FB6
RGBrgb(48, 111, 182)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 74%, 71%)
CMYKcmyk(73.6%, 39%, 0%, 28.6%)
CIE-LABlab(46.14, 4.40, -43.37)
CIE-LCHlch(46.14, 43.59, 275.79°)
OKLaboklab(53.64% -0.0364 -0.1237)
OKLCHoklch(53.64% 0.129 253.6)
XYZxyz(15.3437, 15.3729, 46.4055)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FB6 #B67730
analogous
#30B2B6 #306FB6 #3430B6
triadic
#306FB6 #B6306F #6FB630
tetradic
#306FB6 #B630B2 #B67730 #30B634
square
#306FB6 #B630B2 #B67730 #30B634
split-complementary
#306FB6 #B63430 #B2B630
monochromatic
#163455 #235186 #306FB6 #528ED1 #82ADDE

Accessibility & contrast

On white

5.15
#306FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#306FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FB6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FB6#FFFFFF#000000##FFFFFF
##306FB61.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B9
Deuteranopia (green-blind)
#3968B5
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306fb6;
/* rgb */ color: rgb(48, 111, 182);
/* oklch */ color: oklch(53.6% 0.129 253.6);
Tailwind
colors: {
  custom: {
    50: '#7a97cc',
    500: '#306fb6',
    950: '#000000',
  },
}
SCSS
$custom: #306fb6;
$custom-light: #7a97cc;
$custom-dark: #000000;
JSON
{
  "hex": "#306fb6",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 182
  },
  "hsl": {
    "h": 211.791,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.12891,
    "h": 253.6
  },
  "luminance": 0.15375
}

Semantic roles & 50–950 ramp

primary
#306FB6
secondary
#C7A37B
accent
#9946E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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