#306BA7#306BA7

#306BA7 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.8% C 0.113 H 251.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#306BA7
RGBrgb(48, 107, 167)
HSLhsl(210, 55%, 42%)
HSVhsv(210, 71%, 65%)
CMYKcmyk(71.3%, 35.9%, 0%, 34.5%)
CIE-LABlab(44.14, 1.34, -37.78)
CIE-LCHlch(44.14, 37.81, 272.04°)
OKLaboklab(51.81% -0.0364 -0.1074)
OKLCHoklch(51.81% 0.113 251.3)
XYZxyz(13.4491, 13.9323, 38.5321)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BA7 #A76C30
analogous
#30A7A7 #306BA7 #3030A7
triadic
#306BA7 #A7306B #6BA730
tetradic
#306BA7 #A730A7 #A76C30 #30A730
square
#306BA7 #A730A7 #A76C30 #30A730
split-complementary
#306BA7 #A73030 #A7A730
monochromatic
#152E48 #224D77 #306BA7 #498ACB #79A8D8

Accessibility & contrast

On white

5.55
#306BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#306BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BA7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BA7#FFFFFF#000000##FFFFFF
##306BA71.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#3F63A6
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306ba7;
/* rgb */ color: rgb(48, 107, 167);
/* oklch */ color: oklch(51.8% 0.113 251.3);
Tailwind
colors: {
  custom: {
    50: '#7795c1',
    500: '#306ba7',
    950: '#000000',
  },
}
SCSS
$custom: #306ba7;
$custom-light: #7795c1;
$custom-dark: #000000;
JSON
{
  "hex": "#306ba7",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 167
  },
  "hsl": {
    "h": 210.252,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.11337,
    "h": 251.3
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#306BA7
secondary
#C19A72
accent
#9549DF
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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