#306CBB#306CBB

#306CBB is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.3% C 0.139 H 256.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#306CBB
RGBrgb(48, 108, 187)
HSLhsl(214, 59%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(74.3%, 42.2%, 0%, 26.7%)
CIE-LABlab(45.55, 8.14, -47.21)
CIE-LCHlch(45.55, 47.91, 279.79°)
OKLaboklab(53.28% -0.0325 -0.135)
OKLCHoklch(53.28% 0.139 256.5)
XYZxyz(15.5478, 14.9396, 49.0683)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CBB #BB7F30
analogous
#30B1BB #306CBB #3A30BB
triadic
#306CBB #BB306C #6CBB30
tetradic
#306CBB #BB30B1 #BB7F30 #30BB3A
square
#306CBB #BB30B1 #BB7F30 #30BB3A
split-complementary
#306CBB #BB3A30 #B1BB30
monochromatic
#17345A #23508A #306CBB #558BD3 #86ADE0

Accessibility & contrast

On white

5.27
#306CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#306CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CBB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CBB#FFFFFF#000000##FFFFFF
##306CBB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306cbb;
/* rgb */ color: rgb(48, 108, 187);
/* oklch */ color: oklch(53.3% 0.139 256.5);
Tailwind
colors: {
  custom: {
    50: '#7b95d0',
    500: '#306cbb',
    950: '#000000',
  },
}
SCSS
$custom: #306cbb;
$custom-light: #7b95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#306cbb",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 214.101,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.13885,
    "h": 256.5
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#306CBB
secondary
#C9A97D
accent
#9F45E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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