#306BB9#306BB9

#306BB9 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.9% C 0.137 H 256.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#306BB9
RGBrgb(48, 107, 185)
HSLhsl(214, 59%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(74.1%, 42.2%, 0%, 27.5%)
CIE-LABlab(45.14, 8.03, -46.70)
CIE-LCHlch(45.14, 47.39, 279.75°)
OKLaboklab(52.92% -0.0321 -0.1335)
OKLCHoklch(52.92% 0.137 256.5)
XYZxyz(15.2304, 14.6449, 47.9136)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BB9 #B97E30
analogous
#30AFB9 #306BB9 #3A30B9
triadic
#306BB9 #B9306B #6BB930
tetradic
#306BB9 #B930AF #B97E30 #30B93A
square
#306BB9 #B930AF #B97E30 #30B93A
split-complementary
#306BB9 #B93A30 #AFB930
monochromatic
#173358 #234F88 #306BB9 #548AD3 #84ABDF

Accessibility & contrast

On white

5.34
#306BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#306BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BB9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BB9#FFFFFF#000000##FFFFFF
##306BB91.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306bb9;
/* rgb */ color: rgb(48, 107, 185);
/* oklch */ color: oklch(52.9% 0.137 256.5);
Tailwind
colors: {
  custom: {
    50: '#7a94ce',
    500: '#306bb9',
    950: '#000000',
  },
}
SCSS
$custom: #306bb9;
$custom-light: #7a94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#306bb9",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 214.161,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.13731,
    "h": 256.5
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#306BB9
secondary
#C9A87C
accent
#9F46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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