#306BB6#306BB6

#306BB6 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.133 H 255.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#306BB6
RGBrgb(48, 107, 182)
HSLhsl(214, 58%, 45%)
HSVhsv(214, 74%, 71%)
CMYKcmyk(73.6%, 41.2%, 0%, 28.6%)
CIE-LABlab(44.97, 6.91, -45.24)
CIE-LCHlch(44.97, 45.76, 278.68°)
OKLaboklab(52.73% -0.0327 -0.1292)
OKLCHoklch(52.73% 0.133 255.8)
XYZxyz(14.9170, 14.5195, 46.2633)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BB6 #B67B30
analogous
#30AEB6 #306BB6 #3830B6
triadic
#306BB6 #B6306B #6BB630
tetradic
#306BB6 #B630AE #B67B30 #30B638
square
#306BB6 #B630AE #B67B30 #30B638
split-complementary
#306BB6 #B63830 #AEB630
monochromatic
#163255 #234F86 #306BB6 #528AD1 #82ABDE

Accessibility & contrast

On white

5.38
#306BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#306BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BB6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BB6#FFFFFF#000000##FFFFFF
##306BB61.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#3165B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306bb6;
/* rgb */ color: rgb(48, 107, 182);
/* oklch */ color: oklch(52.7% 0.133 255.8);
Tailwind
colors: {
  custom: {
    50: '#7a94cc',
    500: '#306bb6',
    950: '#000000',
  },
}
SCSS
$custom: #306bb6;
$custom-light: #7a94cc;
$custom-dark: #000000;
JSON
{
  "hex": "#306bb6",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 182
  },
  "hsl": {
    "h": 213.582,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.13328,
    "h": 255.8
  },
  "luminance": 0.14521
}

Semantic roles & 50–950 ramp

primary
#306BB6
secondary
#C7A57B
accent
#9D46E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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