#306F8A#306F8A

#306F8A is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.2% C 0.077 H 229.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#306F8A
RGBrgb(48, 111, 138)
HSLhsl(198, 48%, 36%)
HSVhsv(198, 65%, 54%)
CMYKcmyk(65.2%, 19.6%, 0%, 45.9%)
CIE-LABlab(43.99, -11.36, -20.81)
CIE-LCHlch(43.99, 23.71, 241.38°)
OKLaboklab(51.24% -0.0503 -0.0582)
OKLCHoklch(51.24% 0.077 229.1)
XYZxyz(11.4890, 13.8311, 26.1040)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F8A #8A4B30
analogous
#308A78 #306F8A #30428A
triadic
#306F8A #8A306F #6F8A30
tetradic
#306F8A #78308A #8A4B30 #428A30
square
#306F8A #78308A #8A4B30 #428A30
split-complementary
#306F8A #8A3042 #8A7830
monochromatic
#10262F #204A5D #306F8A #4094B7 #69AECB

Accessibility & contrast

On white

5.58
#306F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#306F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F8A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F8A#FFFFFF#000000##FFFFFF
##306F8A1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616D8B
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306f8a;
/* rgb */ color: rgb(48, 111, 138);
/* oklch */ color: oklch(51.2% 0.077 229.1);
Tailwind
colors: {
  custom: {
    50: '#7298ac',
    500: '#306f8a',
    950: '#000000',
  },
}
SCSS
$custom: #306f8a;
$custom-light: #7298ac;
$custom-dark: #000000;
JSON
{
  "hex": "#306f8a",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 138
  },
  "hsl": {
    "h": 198,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.07692,
    "h": 229.1
  },
  "luminance": 0.13832
}

Semantic roles & 50–950 ramp

primary
#306F8A
secondary
#B27B64
accent
#7950D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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