#306D8A#306D8A

#306D8A is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 50.7% C 0.078 H 231.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#306D8A
RGBrgb(48, 109, 138)
HSLhsl(199, 48%, 36%)
HSVhsv(199, 65%, 54%)
CMYKcmyk(65.2%, 21%, 0%, 45.9%)
CIE-LABlab(43.36, -10.20, -21.79)
CIE-LCHlch(43.36, 24.05, 244.92°)
OKLaboklab(50.74% -0.0481 -0.061)
OKLCHoklch(50.74% 0.078 231.7)
XYZxyz(11.2732, 13.3995, 26.0321)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D8A #8A4D30
analogous
#308A7A #306D8A #30408A
triadic
#306D8A #8A306D #6D8A30
tetradic
#306D8A #7A308A #8A4D30 #408A30
square
#306D8A #7A308A #8A4D30 #408A30
split-complementary
#306D8A #8A3040 #8A7A30
monochromatic
#10252F #20495D #306D8A #4091B7 #69ACCB

Accessibility & contrast

On white

5.71
#306D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#306D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D8A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D8A#FFFFFF#000000##FFFFFF
##306D8A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8B
Deuteranopia (green-blind)
#52628A
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #306d8a;
/* rgb */ color: rgb(48, 109, 138);
/* oklch */ color: oklch(50.7% 0.078 231.7);
Tailwind
colors: {
  custom: {
    50: '#7296ac',
    500: '#306d8a',
    950: '#000000',
  },
}
SCSS
$custom: #306d8a;
$custom-light: #7296ac;
$custom-dark: #000000;
JSON
{
  "hex": "#306d8a",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 199.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.07764,
    "h": 231.7
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#306D8A
secondary
#B27D64
accent
#7C50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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