#306BB4#306BB4

#306BB4 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.6% C 0.131 H 255.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#306BB4
RGBrgb(48, 107, 180)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(73.3%, 40.6%, 0%, 29.4%)
CIE-LABlab(44.85, 6.16, -44.26)
CIE-LCHlch(44.85, 44.68, 277.92°)
OKLaboklab(52.6% -0.0332 -0.1263)
OKLCHoklch(52.6% 0.131 255.3)
XYZxyz(14.7118, 14.4374, 45.1825)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BB4 #B47930
analogous
#30ADB4 #306BB4 #3730B4
triadic
#306BB4 #B4306B #6BB430
tetradic
#306BB4 #B430AD #B47930 #30B437
square
#306BB4 #B430AD #B47930 #30B437
split-complementary
#306BB4 #B43730 #ADB430
monochromatic
#163253 #234E84 #306BB4 #518AD1 #81AADD

Accessibility & contrast

On white

5.40
#306BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#306BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BB4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BB4#FFFFFF#000000##FFFFFF
##306BB41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B7
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306bb4;
/* rgb */ color: rgb(48, 107, 180);
/* oklch */ color: oklch(52.6% 0.131 255.3);
Tailwind
colors: {
  custom: {
    50: '#7994cb',
    500: '#306bb4',
    950: '#000000',
  },
}
SCSS
$custom: #306bb4;
$custom-light: #7994cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306bb4",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 213.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.1306,
    "h": 255.3
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#306BB4
secondary
#C6A479
accent
#9C47E1
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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