#306FB8#306FB8

#306FB8 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.132 H 254.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#306FB8
RGBrgb(48, 111, 184)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 72%)
CMYKcmyk(73.9%, 39.7%, 0%, 27.8%)
CIE-LABlab(46.25, 5.14, -44.35)
CIE-LCHlch(46.25, 44.65, 276.62°)
OKLaboklab(53.76% -0.0359 -0.1265)
OKLCHoklch(53.76% 0.132 254.1)
XYZxyz(15.5519, 15.4562, 47.5018)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FB8 #B87930
analogous
#30B3B8 #306FB8 #3530B8
triadic
#306FB8 #B8306F #6FB830
tetradic
#306FB8 #B830B3 #B87930 #30B835
square
#306FB8 #B830B3 #B87930 #30B835
split-complementary
#306FB8 #B83530 #B3B830
monochromatic
#173457 #235287 #306FB8 #538ED2 #84AEDF

Accessibility & contrast

On white

5.13
#306FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#306FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FB8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FB8#FFFFFF#000000##FFFFFF
##306FB81.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BB
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306fb8;
/* rgb */ color: rgb(48, 111, 184);
/* oklch */ color: oklch(53.8% 0.132 254.1);
Tailwind
colors: {
  custom: {
    50: '#7a97ce',
    500: '#306fb8',
    950: '#000000',
  },
}
SCSS
$custom: #306fb8;
$custom-light: #7a97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#306fb8",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 184
  },
  "hsl": {
    "h": 212.206,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.13154,
    "h": 254.1
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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