#306AAB#306AAB

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

Color values

HEX#306AAB
RGBrgb(48, 106, 171)
HSLhsl(212, 56%, 43%)
HSVhsv(212, 72%, 67%)
CMYKcmyk(71.9%, 38%, 0%, 32.9%)
CIE-LABlab(44.05, 3.44, -40.26)
CIE-LCHlch(44.05, 40.41, 274.88°)
OKLaboklab(51.81% -0.0344 -0.1146)
OKLCHoklch(51.81% 0.12 253.3)
XYZxyz(13.7209, 13.8752, 40.4752)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AAB #AB7130
analogous
#30A7AB #306AAB #3330AB
triadic
#306AAB #AB306A #6AAB30
tetradic
#306AAB #AB30A7 #AB7130 #30AB33
square
#306AAB #AB30A7 #AB7130 #30AB33
split-complementary
#306AAB #AB3330 #A7AB30
monochromatic
#152F4B #234C7B #306AAB #4C88CD #7BA8DA

Accessibility & contrast

On white

5.56
#306AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#306AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AAB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AAB#FFFFFF#000000##FFFFFF
##306AAB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAE
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306aab;
/* rgb */ color: rgb(48, 106, 171);
/* oklch */ color: oklch(51.8% 0.120 253.3);
Tailwind
colors: {
  custom: {
    50: '#7894c4',
    500: '#306aab',
    950: '#000000',
  },
}
SCSS
$custom: #306aab;
$custom-light: #7894c4;
$custom-dark: #000000;
JSON
{
  "hex": "#306aab",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 171
  },
  "hsl": {
    "h": 211.707,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.11967,
    "h": 253.3
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#306AAB
secondary
#C39E74
accent
#9848DF
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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