#306FAC#306FAC

#306FAC is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.116 H 250.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#306FAC
RGBrgb(48, 111, 172)
HSLhsl(210, 56%, 43%)
HSVhsv(210, 72%, 67%)
CMYKcmyk(72.1%, 35.5%, 0%, 32.5%)
CIE-LABlab(45.60, 0.71, -38.40)
CIE-LCHlch(45.60, 38.41, 271.06°)
OKLaboklab(53.04% -0.039 -0.1091)
OKLCHoklch(53.04% 0.116 250.3)
XYZxyz(14.3470, 14.9742, 41.1559)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FAC #AC6D30
analogous
#30ACAB #306FAC #3031AC
triadic
#306FAC #AC306F #6FAC30
tetradic
#306FAC #AB30AC #AC6D30 #31AC30
square
#306FAC #AB30AC #AC6D30 #31AC30
split-complementary
#306FAC #AC3031 #ACAB30
monochromatic
#15314C #23507C #306FAC #4C8ECD #7CACDA

Accessibility & contrast

On white

5.26
#306FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#306FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FAC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FAC#FFFFFF#000000##FFFFFF
##306FAC1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5372AF
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306fac;
/* rgb */ color: rgb(48, 111, 172);
/* oklch */ color: oklch(53.0% 0.116 250.3);
Tailwind
colors: {
  custom: {
    50: '#7898c5',
    500: '#306fac',
    950: '#000000',
  },
}
SCSS
$custom: #306fac;
$custom-light: #7898c5;
$custom-dark: #000000;
JSON
{
  "hex": "#306fac",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 209.516,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.11587,
    "h": 250.3
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#306FAC
secondary
#C39B75
accent
#9348E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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