#306FB4#306FB4

#306FB4 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.126 H 253.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#306FB4
RGBrgb(48, 111, 180)
HSLhsl(211, 58%, 45%)
HSVhsv(211, 73%, 71%)
CMYKcmyk(73.3%, 38.3%, 0%, 29.4%)
CIE-LABlab(46.03, 3.66, -42.38)
CIE-LCHlch(46.03, 42.54, 274.93°)
OKLaboklab(53.52% -0.0369 -0.1208)
OKLCHoklch(53.52% 0.126 253)
XYZxyz(15.1385, 15.2909, 45.3248)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FB4 #B47530
analogous
#30B1B4 #306FB4 #3330B4
triadic
#306FB4 #B4306F #6FB430
tetradic
#306FB4 #B430B1 #B47530 #30B433
square
#306FB4 #B430B1 #B47530 #30B433
split-complementary
#306FB4 #B43330 #B1B430
monochromatic
#163353 #235184 #306FB4 #518ED1 #81ADDD

Accessibility & contrast

On white

5.17
#306FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#306FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FB4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FB4#FFFFFF#000000##FFFFFF
##306FB41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#3B67B3
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306fb4;
/* rgb */ color: rgb(48, 111, 180);
/* oklch */ color: oklch(53.5% 0.126 253.0);
Tailwind
colors: {
  custom: {
    50: '#7997cb',
    500: '#306fb4',
    950: '#000000',
  },
}
SCSS
$custom: #306fb4;
$custom-light: #7997cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306fb4",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 180
  },
  "hsl": {
    "h": 211.364,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.12628,
    "h": 253
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#306FB4
secondary
#C6A279
accent
#9747E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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