#306BBF#306BBF

#306BBF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.145 H 257.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#306BBF
RGBrgb(48, 107, 191)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 75%)
CMYKcmyk(74.9%, 44%, 0%, 25.1%)
CIE-LABlab(45.50, 10.27, -49.61)
CIE-LCHlch(45.50, 50.66, 281.70°)
OKLaboklab(53.31% -0.0308 -0.142)
OKLCHoklch(53.31% 0.145 257.8)
XYZxyz(15.8771, 14.9036, 51.3200)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BBF #BF8430
analogous
#30B3BF #306BBF #3D30BF
triadic
#306BBF #BF306B #6BBF30
tetradic
#306BBF #BF30B3 #BF8430 #30BF3D
square
#306BBF #BF30B3 #BF8430 #30BF3D
split-complementary
#306BBF #BF3D30 #B3BF30
monochromatic
#17345D #24508E #306BBF #578BD5 #88ADE1

Accessibility & contrast

On white

5.28
#306BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#306BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BBF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BBF#FFFFFF#000000##FFFFFF
##306BBF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#2566BD
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306bbf;
/* rgb */ color: rgb(48, 107, 191);
/* oklch */ color: oklch(53.3% 0.145 257.8);
Tailwind
colors: {
  custom: {
    50: '#7c94d3',
    500: '#306bbf',
    950: '#000000',
  },
}
SCSS
$custom: #306bbf;
$custom-light: #7c94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#306bbf",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 215.245,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.14536,
    "h": 257.8
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#306BBF
secondary
#CBAC80
accent
#A245E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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