#306FA8#306FA8

#306FA8 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.111 H 248.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#306FA8
RGBrgb(48, 111, 168)
HSLhsl(209, 56%, 42%)
HSVhsv(209, 71%, 66%)
CMYKcmyk(71.4%, 33.9%, 0%, 34.1%)
CIE-LABlab(45.39, -0.75, -36.39)
CIE-LCHlch(45.39, 36.40, 268.81°)
OKLaboklab(52.81% -0.0401 -0.1032)
OKLCHoklch(52.81% 0.111 248.8)
XYZxyz(13.9686, 14.8229, 39.1631)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FA8 #A86930
analogous
#30A8A5 #306FA8 #3033A8
triadic
#306FA8 #A8306F #6FA830
tetradic
#306FA8 #A530A8 #A86930 #33A830
square
#306FA8 #A530A8 #A86930 #33A830
split-complementary
#306FA8 #A83033 #A8A530
monochromatic
#153049 #225078 #306FA8 #4A8ECB #7AACD9

Accessibility & contrast

On white

5.30
#306FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#306FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FA8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FA8#FFFFFF#000000##FFFFFF
##306FA81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5572AA
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306fa8;
/* rgb */ color: rgb(48, 111, 168);
/* oklch */ color: oklch(52.8% 0.111 248.8);
Tailwind
colors: {
  custom: {
    50: '#7798c2',
    500: '#306fa8',
    950: '#000000',
  },
}
SCSS
$custom: #306fa8;
$custom-light: #7798c2;
$custom-dark: #000000;
JSON
{
  "hex": "#306fa8",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 208.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.11075,
    "h": 248.8
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#306FA8
secondary
#C19873
accent
#9049DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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