#306ABF#306ABF

#306ABF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.1% C 0.147 H 258.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#306ABF
RGBrgb(48, 106, 191)
HSLhsl(216, 60%, 47%)
HSVhsv(216, 75%, 75%)
CMYKcmyk(74.9%, 44.5%, 0%, 25.1%)
CIE-LABlab(45.22, 10.91, -50.07)
CIE-LCHlch(45.22, 51.24, 282.29°)
OKLaboklab(53.09% -0.03 -0.1434)
OKLCHoklch(53.09% 0.147 258.2)
XYZxyz(15.7735, 14.6963, 51.2855)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306ABF #BF8530
analogous
#30B2BF #306ABF #3D30BF
triadic
#306ABF #BF306A #6ABF30
tetradic
#306ABF #BF30B2 #BF8530 #30BF3D
square
#306ABF #BF30B2 #BF8530 #30BF3D
split-complementary
#306ABF #BF3D30 #B2BF30
monochromatic
#17345D #244F8E #306ABF #578AD5 #88ACE1

Accessibility & contrast

On white

5.33
#306ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#306ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306ABF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306ABF#FFFFFF#000000##FFFFFF
##306ABF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306abf;
/* rgb */ color: rgb(48, 106, 191);
/* oklch */ color: oklch(53.1% 0.147 258.2);
Tailwind
colors: {
  custom: {
    50: '#7c94d3',
    500: '#306abf',
    950: '#000000',
  },
}
SCSS
$custom: #306abf;
$custom-light: #7c94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#306abf",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 191
  },
  "hsl": {
    "h": 215.664,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.14651,
    "h": 258.2
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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