#306BBE#306BBE

#306BBE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.2% C 0.144 H 257.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#306BBE
RGBrgb(48, 107, 190)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 75%)
CMYKcmyk(74.7%, 43.7%, 0%, 25.5%)
CIE-LABlab(45.44, 9.90, -49.13)
CIE-LCHlch(45.44, 50.11, 281.39°)
OKLaboklab(53.25% -0.031 -0.1406)
OKLCHoklch(53.25% 0.144 257.6)
XYZxyz(15.7675, 14.8597, 50.7424)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BBE #BE8330
analogous
#30B2BE #306BBE #3C30BE
triadic
#306BBE #BE306B #6BBE30
tetradic
#306BBE #BE30B2 #BE8330 #30BE3C
square
#306BBE #BE30B2 #BE8330 #30BE3C
split-complementary
#306BBE #BE3C30 #B2BE30
monochromatic
#17345C #244F8D #306BBE #578BD4 #88ADE1

Accessibility & contrast

On white

5.29
#306BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#306BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BBE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BBE#FFFFFF#000000##FFFFFF
##306BBE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#2766BC
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306bbe;
/* rgb */ color: rgb(48, 107, 190);
/* oklch */ color: oklch(53.2% 0.144 257.6);
Tailwind
colors: {
  custom: {
    50: '#7b94d2',
    500: '#306bbe',
    950: '#000000',
  },
}
SCSS
$custom: #306bbe;
$custom-light: #7b94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#306bbe",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 215.07,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.14401,
    "h": 257.6
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#306BBE
secondary
#CBAB7F
accent
#A145E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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