#306BAB#306BAB

#306BAB is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 52.0% C 0.119 H 252.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#306BAB
RGBrgb(48, 107, 171)
HSLhsl(211, 56%, 43%)
HSVhsv(211, 72%, 67%)
CMYKcmyk(71.9%, 37.4%, 0%, 32.9%)
CIE-LABlab(44.35, 2.82, -39.79)
CIE-LCHlch(44.35, 39.89, 274.05°)
OKLaboklab(52.05% -0.0353 -0.1132)
OKLCHoklch(52.05% 0.119 252.7)
XYZxyz(13.8246, 14.0825, 40.5098)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BAB #AB7030
analogous
#30A8AB #306BAB #3330AB
triadic
#306BAB #AB306B #6BAB30
tetradic
#306BAB #AB30A8 #AB7030 #30AB33
square
#306BAB #AB30A8 #AB7030 #30AB33
split-complementary
#306BAB #AB3330 #A8AB30
monochromatic
#152F4B #234D7B #306BAB #4C89CD #7BA9DA

Accessibility & contrast

On white

5.50
#306BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#306BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BAB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BAB#FFFFFF#000000##FFFFFF
##306BAB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306bab;
/* rgb */ color: rgb(48, 107, 171);
/* oklch */ color: oklch(52.0% 0.119 252.7);
Tailwind
colors: {
  custom: {
    50: '#7895c4',
    500: '#306bab',
    950: '#000000',
  },
}
SCSS
$custom: #306bab;
$custom-light: #7895c4;
$custom-dark: #000000;
JSON
{
  "hex": "#306bab",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 171
  },
  "hsl": {
    "h": 211.22,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.11862,
    "h": 252.7
  },
  "luminance": 0.14084
}

Semantic roles & 50–950 ramp

primary
#306BAB
secondary
#C39D74
accent
#9748DF
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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