#306F8B#306F8B

#306F8B is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.3% C 0.078 H 230.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#306F8B
RGBrgb(48, 111, 139)
HSLhsl(198, 49%, 37%)
HSVhsv(198, 65%, 55%)
CMYKcmyk(65.5%, 20.1%, 0%, 45.5%)
CIE-LABlab(44.03, -11.02, -21.35)
CIE-LCHlch(44.03, 24.02, 242.70°)
OKLaboklab(51.29% -0.0499 -0.0597)
OKLCHoklch(51.29% 0.078 230.1)
XYZxyz(11.5617, 13.8601, 26.4871)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F8B #8B4C30
analogous
#308B7A #306F8B #30418B
triadic
#306F8B #8B306F #6F8B30
tetradic
#306F8B #7A308B #8B4C30 #418B30
square
#306F8B #7A308B #8B4C30 #418B30
split-complementary
#306F8B #8B3041 #8B7A30
monochromatic
#112630 #204B5E #306F8B #4093B8 #6AADCC

Accessibility & contrast

On white

5.57
#306F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306F8B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F8B#FFFFFF#000000##FFFFFF
##306F8B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #306f8b;
/* rgb */ color: rgb(48, 111, 139);
/* oklch */ color: oklch(51.3% 0.078 230.1);
Tailwind
colors: {
  custom: {
    50: '#7298ad',
    500: '#306f8b',
    950: '#000000',
  },
}
SCSS
$custom: #306f8b;
$custom-light: #7298ad;
$custom-dark: #000000;
JSON
{
  "hex": "#306f8b",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 139
  },
  "hsl": {
    "h": 198.462,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.07783,
    "h": 230.1
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#306F8B
secondary
#B37C64
accent
#7A50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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