#306BD3#306BD3

#306BD3 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.7% C 0.172 H 260.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#306BD3
RGBrgb(48, 107, 211)
HSLhsl(218, 65%, 51%)
HSVhsv(218, 77%, 83%)
CMYKcmyk(77.3%, 49.3%, 0%, 17.3%)
CIE-LABlab(46.77, 17.79, -59.06)
CIE-LCHlch(46.77, 61.68, 286.76°)
OKLaboklab(54.7% -0.0275 -0.1698)
OKLCHoklch(54.7% 0.172 260.8)
XYZxyz(18.2302, 15.8448, 63.7129)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BD3 #D39830
analogous
#30BCD3 #306BD3 #4630D3
triadic
#306BD3 #D3306B #6BD330
tetradic
#306BD3 #D330BC #D39830 #30D346
square
#306BD3 #D330BC #D39830 #30D346
split-complementary
#306BD3 #D34630 #BCD330
monochromatic
#183871 #2351A3 #306BD3 #628FDE #95B3E8

Accessibility & contrast

On white

5.04
#306BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#306BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BD3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BD3#FFFFFF#000000##FFFFFF
##306BD31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D7
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #306bd3;
/* rgb */ color: rgb(48, 107, 211);
/* oklch */ color: oklch(54.7% 0.172 260.8);
Tailwind
colors: {
  custom: {
    50: '#8094e1',
    500: '#306bd3',
    950: '#000000',
  },
}
SCSS
$custom: #306bd3;
$custom-light: #8094e1;
$custom-dark: #000000;
JSON
{
  "hex": "#306bd3",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 211
  },
  "hsl": {
    "h": 218.282,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.17207,
    "h": 260.8
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#306BD3
secondary
#D4B98B
accent
#AB40E8
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #306BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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