#306FB7#306FB7

#306FB7 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.130 H 253.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#306FB7
RGBrgb(48, 111, 183)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 74%, 72%)
CMYKcmyk(73.8%, 39.3%, 0%, 28.2%)
CIE-LABlab(46.20, 4.77, -43.86)
CIE-LCHlch(46.20, 44.12, 276.21°)
OKLaboklab(53.7% -0.0362 -0.1251)
OKLCHoklch(53.7% 0.13 253.9)
XYZxyz(15.4474, 15.4144, 46.9517)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FB7 #B77830
analogous
#30B3B7 #306FB7 #3430B7
triadic
#306FB7 #B7306F #6FB730
tetradic
#306FB7 #B730B3 #B77830 #30B734
square
#306FB7 #B730B3 #B77830 #30B734
split-complementary
#306FB7 #B73430 #B3B730
monochromatic
#173456 #235287 #306FB7 #528ED2 #83AEDE

Accessibility & contrast

On white

5.14
#306FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#306FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FB7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FB7#FFFFFF#000000##FFFFFF
##306FB71.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#3868B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306fb7;
/* rgb */ color: rgb(48, 111, 183);
/* oklch */ color: oklch(53.7% 0.130 253.9);
Tailwind
colors: {
  custom: {
    50: '#7a97cd',
    500: '#306fb7',
    950: '#000000',
  },
}
SCSS
$custom: #306fb7;
$custom-light: #7a97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#306fb7",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 212,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.13022,
    "h": 253.9
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#306FB7
secondary
#C8A47B
accent
#9946E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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