#306DB7#306DB7

#306DB7 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.132 H 255.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#306DB7
RGBrgb(48, 109, 183)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 74%, 72%)
CMYKcmyk(73.8%, 40.4%, 0%, 28.2%)
CIE-LABlab(45.61, 6.02, -44.80)
CIE-LCHlch(45.61, 45.20, 277.66°)
OKLaboklab(53.25% -0.0343 -0.1279)
OKLCHoklch(53.25% 0.132 255)
XYZxyz(15.2316, 14.9829, 46.8798)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DB7 #B77A30
analogous
#30B0B7 #306DB7 #3630B7
triadic
#306DB7 #B7306D #6DB730
tetradic
#306DB7 #B730B0 #B77A30 #30B736
square
#306DB7 #B730B0 #B77A30 #30B736
split-complementary
#306DB7 #B73630 #B0B730
monochromatic
#173356 #235087 #306DB7 #528CD2 #83ACDE

Accessibility & contrast

On white

5.25
#306DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#306DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DB7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DB7#FFFFFF#000000##FFFFFF
##306DB71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BA
Deuteranopia (green-blind)
#3466B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306db7;
/* rgb */ color: rgb(48, 109, 183);
/* oklch */ color: oklch(53.2% 0.132 255.0);
Tailwind
colors: {
  custom: {
    50: '#7a96cd',
    500: '#306db7',
    950: '#000000',
  },
}
SCSS
$custom: #306db7;
$custom-light: #7a96cd;
$custom-dark: #000000;
JSON
{
  "hex": "#306db7",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 212.889,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.1324,
    "h": 255
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

primary
#306DB7
secondary
#C8A57B
accent
#9B46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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