#306BAF#306BAF

#306BAF is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.3% C 0.124 H 253.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#306BAF
RGBrgb(48, 107, 175)
HSLhsl(212, 57%, 44%)
HSVhsv(212, 73%, 69%)
CMYKcmyk(72.6%, 38.9%, 0%, 31.4%)
CIE-LABlab(44.57, 4.30, -41.79)
CIE-LCHlch(44.57, 42.01, 275.87°)
OKLaboklab(52.29% -0.0343 -0.1191)
OKLCHoklch(52.29% 0.124 253.9)
XYZxyz(14.2116, 14.2374, 42.5482)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BAF #AF7430
analogous
#30AAAF #306BAF #3430AF
triadic
#306BAF #AF306B #6BAF30
tetradic
#306BAF #AF30AA #AF7430 #30AF34
square
#306BAF #AF30AA #AF7430 #30AF34
split-complementary
#306BAF #AF3430 #AAAF30
monochromatic
#16304F #234E7F #306BAF #4E8ACE #7EA9DC

Accessibility & contrast

On white

5.46
#306BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#306BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BAF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BAF#FFFFFF#000000##FFFFFF
##306BAF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306baf;
/* rgb */ color: rgb(48, 107, 175);
/* oklch */ color: oklch(52.3% 0.124 253.9);
Tailwind
colors: {
  custom: {
    50: '#7894c7',
    500: '#306baf',
    950: '#000000',
  },
}
SCSS
$custom: #306baf;
$custom-light: #7894c7;
$custom-dark: #000000;
JSON
{
  "hex": "#306baf",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 212.126,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.12392,
    "h": 253.9
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#306BAF
secondary
#C4A076
accent
#9948E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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