#306F8D#306F8D

#306F8D is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.4% C 0.080 H 231.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#306F8D
RGBrgb(48, 111, 141)
HSLhsl(199, 49%, 37%)
HSVhsv(199, 66%, 55%)
CMYKcmyk(66%, 21.3%, 0%, 44.7%)
CIE-LABlab(44.12, -10.33, -22.41)
CIE-LCHlch(44.12, 24.68, 245.24°)
OKLaboklab(51.38% -0.0492 -0.0627)
OKLCHoklch(51.38% 0.08 231.9)
XYZxyz(11.7092, 13.9191, 27.2637)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F8D #8D4E30
analogous
#308D7D #306F8D #30418D
triadic
#306F8D #8D306F #6F8D30
tetradic
#306F8D #7D308D #8D4E30 #418D30
square
#306F8D #7D308D #8D4E30 #418D30
split-complementary
#306F8D #8D3041 #8D7D30
monochromatic
#112732 #204B5F #306F8D #4093BB #6BADCD

Accessibility & contrast

On white

5.55
#306F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306F8D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F8D#FFFFFF#000000##FFFFFF
##306F8D1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606E8E
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#007779
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306f8d;
/* rgb */ color: rgb(48, 111, 141);
/* oklch */ color: oklch(51.4% 0.080 231.9);
Tailwind
colors: {
  custom: {
    50: '#7398ae',
    500: '#306f8d',
    950: '#000000',
  },
}
SCSS
$custom: #306f8d;
$custom-light: #7398ae;
$custom-dark: #000000;
JSON
{
  "hex": "#306f8d",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 141
  },
  "hsl": {
    "h": 199.355,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.51382,
    "c": 0.07972,
    "h": 231.9
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#306F8D
secondary
#B47E65
accent
#7B4FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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