#306DBA#306DBA

#306DBA is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.4% C 0.136 H 255.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#306DBA
RGBrgb(48, 109, 186)
HSLhsl(213, 59%, 46%)
HSVhsv(213, 74%, 73%)
CMYKcmyk(74.2%, 41.4%, 0%, 27.1%)
CIE-LABlab(45.78, 7.14, -46.26)
CIE-LCHlch(45.78, 46.81, 278.77°)
OKLaboklab(53.44% -0.0336 -0.1322)
OKLCHoklch(53.44% 0.136 255.7)
XYZxyz(15.5472, 15.1091, 48.5418)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DBA #BA7D30
analogous
#30B2BA #306DBA #3830BA
triadic
#306DBA #BA306D #6DBA30
tetradic
#306DBA #BA30B2 #BA7D30 #30BA38
square
#306DBA #BA30B2 #BA7D30 #30BA38
split-complementary
#306DBA #BA3830 #B2BA30
monochromatic
#173459 #235089 #306DBA #548CD3 #85ADDF

Accessibility & contrast

On white

5.22
#306DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#306DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DBA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DBA#FFFFFF#000000##FFFFFF
##306DBA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#3167B8
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306dba;
/* rgb */ color: rgb(48, 109, 186);
/* oklch */ color: oklch(53.4% 0.136 255.7);
Tailwind
colors: {
  custom: {
    50: '#7b96cf',
    500: '#306dba',
    950: '#000000',
  },
}
SCSS
$custom: #306dba;
$custom-light: #7b96cf;
$custom-dark: #000000;
JSON
{
  "hex": "#306dba",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 213.478,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.1364,
    "h": 255.7
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#306DBA
secondary
#C9A77D
accent
#9D46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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