#306BB8#306BB8

#306BB8 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.9% C 0.136 H 256.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#306BB8
RGBrgb(48, 107, 184)
HSLhsl(214, 59%, 45%)
HSVhsv(214, 74%, 72%)
CMYKcmyk(73.9%, 41.8%, 0%, 27.8%)
CIE-LABlab(45.09, 7.65, -46.22)
CIE-LCHlch(45.09, 46.84, 279.40°)
OKLaboklab(52.86% -0.0323 -0.1321)
OKLCHoklch(52.86% 0.136 256.3)
XYZxyz(15.1252, 14.6028, 47.3596)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BB8 #B87D30
analogous
#30AFB8 #306BB8 #3930B8
triadic
#306BB8 #B8306B #6BB830
tetradic
#306BB8 #B830AF #B87D30 #30B839
square
#306BB8 #B830AF #B87D30 #30B839
split-complementary
#306BB8 #B83930 #AFB830
monochromatic
#173357 #234F87 #306BB8 #538AD2 #84ABDF

Accessibility & contrast

On white

5.36
#306BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#306BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BB8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BB8#FFFFFF#000000##FFFFFF
##306BB81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BB
Deuteranopia (green-blind)
#2F65B6
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306bb8;
/* rgb */ color: rgb(48, 107, 184);
/* oklch */ color: oklch(52.9% 0.136 256.3);
Tailwind
colors: {
  custom: {
    50: '#7a94ce',
    500: '#306bb8',
    950: '#000000',
  },
}
SCSS
$custom: #306bb8;
$custom-light: #7a94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#306bb8",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 184
  },
  "hsl": {
    "h": 213.971,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.13596,
    "h": 256.3
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#306BB8
secondary
#C8A77C
accent
#9E46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #306BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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