#306CBE#306CBE

#306CBE is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.5% C 0.143 H 257.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#306CBE
RGBrgb(48, 108, 190)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 75%)
CMYKcmyk(74.7%, 43.2%, 0%, 25.5%)
CIE-LABlab(45.73, 9.27, -48.67)
CIE-LCHlch(45.73, 49.54, 280.78°)
OKLaboklab(53.47% -0.0319 -0.1393)
OKLCHoklch(53.47% 0.143 257.1)
XYZxyz(15.8723, 15.0694, 50.7774)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CBE #BE8230
analogous
#30B3BE #306CBE #3B30BE
triadic
#306CBE #BE306C #6CBE30
tetradic
#306CBE #BE30B3 #BE8230 #30BE3B
square
#306CBE #BE30B3 #BE8230 #30BE3B
split-complementary
#306CBE #BE3B30 #B3BE30
monochromatic
#17345C #24508D #306CBE #578CD4 #88ADE1

Accessibility & contrast

On white

5.23
#306CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#306CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CBE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CBE#FFFFFF#000000##FFFFFF
##306CBE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4373C1
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306cbe;
/* rgb */ color: rgb(48, 108, 190);
/* oklch */ color: oklch(53.5% 0.143 257.1);
Tailwind
colors: {
  custom: {
    50: '#7b95d2',
    500: '#306cbe',
    950: '#000000',
  },
}
SCSS
$custom: #306cbe;
$custom-light: #7b95d2;
$custom-dark: #000000;
JSON
{
  "hex": "#306cbe",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 190
  },
  "hsl": {
    "h": 214.648,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.14287,
    "h": 257.1
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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