#306DBB#306DBB

#306DBB is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.5% C 0.138 H 256.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#306DBB
RGBrgb(48, 109, 187)
HSLhsl(214, 59%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(74.3%, 41.7%, 0%, 26.7%)
CIE-LABlab(45.84, 7.51, -46.75)
CIE-LCHlch(45.84, 47.35, 279.13°)
OKLaboklab(53.5% -0.0334 -0.1336)
OKLCHoklch(53.5% 0.138 256)
XYZxyz(15.6539, 15.1518, 49.1036)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DBB #BB7E30
analogous
#30B2BB #306DBB #3830BB
triadic
#306DBB #BB306D #6DBB30
tetradic
#306DBB #BB30B2 #BB7E30 #30BB38
square
#306DBB #BB30B2 #BB7E30 #30BB38
split-complementary
#306DBB #BB3830 #B2BB30
monochromatic
#17345A #23518A #306DBB #558CD3 #86ADE0

Accessibility & contrast

On white

5.21
#306DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#306DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DBB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DBB#FFFFFF#000000##FFFFFF
##306DBB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#3067B9
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306dbb;
/* rgb */ color: rgb(48, 109, 187);
/* oklch */ color: oklch(53.5% 0.138 256.0);
Tailwind
colors: {
  custom: {
    50: '#7b96d0',
    500: '#306dbb',
    950: '#000000',
  },
}
SCSS
$custom: #306dbb;
$custom-light: #7b96d0;
$custom-dark: #000000;
JSON
{
  "hex": "#306dbb",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 187
  },
  "hsl": {
    "h": 213.669,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53501,
    "c": 0.13773,
    "h": 256
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#306DBB
secondary
#C9A87D
accent
#9D45E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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