#306CBA#306CBA

#306CBA is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.138 H 256.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#306CBA
RGBrgb(48, 108, 186)
HSLhsl(214, 59%, 46%)
HSVhsv(214, 74%, 73%)
CMYKcmyk(74.2%, 41.9%, 0%, 27.1%)
CIE-LABlab(45.49, 7.77, -46.73)
CIE-LCHlch(45.49, 47.37, 279.44°)
OKLaboklab(53.21% -0.0327 -0.1336)
OKLCHoklch(53.21% 0.138 256.2)
XYZxyz(15.4412, 14.8969, 48.5065)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CBA #BA7E30
analogous
#30B1BA #306CBA #3930BA
triadic
#306CBA #BA306C #6CBA30
tetradic
#306CBA #BA30B1 #BA7E30 #30BA39
square
#306CBA #BA30B1 #BA7E30 #30BA39
split-complementary
#306CBA #BA3930 #B1BA30
monochromatic
#173459 #235089 #306CBA #548BD3 #85ACDF

Accessibility & contrast

On white

5.28
#306CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#306CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CBA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CBA#FFFFFF#000000##FFFFFF
##306CBA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BD
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306cba;
/* rgb */ color: rgb(48, 108, 186);
/* oklch */ color: oklch(53.2% 0.138 256.2);
Tailwind
colors: {
  custom: {
    50: '#7b95cf',
    500: '#306cba',
    950: '#000000',
  },
}
SCSS
$custom: #306cba;
$custom-light: #7b95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#306cba",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 213.913,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53211,
    "c": 0.13751,
    "h": 256.2
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#306CBA
secondary
#C9A87D
accent
#9E46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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