#306EB8#306EB8

#306EB8 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.5% C 0.133 H 254.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#306EB8
RGBrgb(48, 110, 184)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 74%, 72%)
CMYKcmyk(73.9%, 40.2%, 0%, 27.8%)
CIE-LABlab(45.96, 5.77, -44.82)
CIE-LCHlch(45.96, 45.19, 277.33°)
OKLaboklab(53.54% -0.035 -0.1279)
OKLCHoklch(53.54% 0.133 254.7)
XYZxyz(15.4434, 15.2392, 47.4657)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EB8 #B87A30
analogous
#30B2B8 #306EB8 #3630B8
triadic
#306EB8 #B8306E #6EB830
tetradic
#306EB8 #B830B2 #B87A30 #30B836
square
#306EB8 #B830B2 #B87A30 #30B836
split-complementary
#306EB8 #B83630 #B2B830
monochromatic
#173457 #235187 #306EB8 #538DD2 #84ADDF

Accessibility & contrast

On white

5.19
#306EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#306EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EB8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EB8#FFFFFF#000000##FFFFFF
##306EB81.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#3567B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306eb8;
/* rgb */ color: rgb(48, 110, 184);
/* oklch */ color: oklch(53.5% 0.133 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a97ce',
    500: '#306eb8',
    950: '#000000',
  },
}
SCSS
$custom: #306eb8;
$custom-light: #7a97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#306eb8",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 212.647,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.13263,
    "h": 254.7
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#306EB8
secondary
#C8A57C
accent
#9B46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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