#306BA8#306BA8

#306BA8 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.9% C 0.115 H 251.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#306BA8
RGBrgb(48, 107, 168)
HSLhsl(211, 56%, 42%)
HSVhsv(211, 71%, 66%)
CMYKcmyk(71.4%, 36.3%, 0%, 34.1%)
CIE-LABlab(44.19, 1.71, -38.29)
CIE-LCHlch(44.19, 38.33, 272.56°)
OKLaboklab(51.87% -0.0361 -0.1088)
OKLCHoklch(51.87% 0.115 251.6)
XYZxyz(13.5419, 13.9695, 39.0209)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BA8 #A86D30
analogous
#30A7A8 #306BA8 #3130A8
triadic
#306BA8 #A8306B #6BA830
tetradic
#306BA8 #A830A7 #A86D30 #30A831
square
#306BA8 #A830A7 #A86D30 #30A831
split-complementary
#306BA8 #A83130 #A7A830
monochromatic
#152E49 #224D78 #306BA8 #4A8ACB #7AA8D9

Accessibility & contrast

On white

5.53
#306BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306BA8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BA8#FFFFFF#000000##FFFFFF
##306BA81.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAB
Deuteranopia (green-blind)
#3E63A7
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306ba8;
/* rgb */ color: rgb(48, 107, 168);
/* oklch */ color: oklch(51.9% 0.115 251.6);
Tailwind
colors: {
  custom: {
    50: '#7795c2',
    500: '#306ba8',
    950: '#000000',
  },
}
SCSS
$custom: #306ba8;
$custom-light: #7795c2;
$custom-dark: #000000;
JSON
{
  "hex": "#306ba8",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 168
  },
  "hsl": {
    "h": 210.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51867,
    "c": 0.11467,
    "h": 251.6
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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