#306A5D#306A5D

#306A5D is a mid, moderate teal. Relative luminance 0.117; OKLCH L 48.1% C 0.065 H 176.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#306A5D
RGBrgb(48, 106, 93)
HSLhsl(167, 38%, 30%)
HSVhsv(167, 55%, 42%)
CMYKcmyk(54.7%, 0%, 12.3%, 58.4%)
CIE-LABlab(40.78, -22.48, 1.53)
CIE-LCHlch(40.78, 22.53, 176.10°)
OKLaboklab(48.13% -0.0646 0.0037)
OKLCHoklch(48.13% 0.065 176.7)
XYZxyz(8.3479, 11.7260, 12.1772)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A5D #6A303D
analogous
#306A40 #306A5D #305A6A
triadic
#306A5D #5D306A #6A5D30
tetradic
#306A5D #40306A #6A303D #5A6A30
square
#306A5D #40306A #6A303D #5A6A30
split-complementary
#306A5D #6A305A #6A4030
monochromatic
#0A1613 #1D4038 #306A5D #439482 #5EB6A2

Accessibility & contrast

On white

6.28
#306A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#306A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A5D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A5D#FFFFFF#000000##FFFFFF
##306A5D1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66645C
Deuteranopia (green-blind)
#5D5D5E
Tritanopia (blue-blind)
#136B66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306a5d;
/* rgb */ color: rgb(48, 106, 93);
/* oklch */ color: oklch(48.1% 0.065 176.7);
Tailwind
colors: {
  custom: {
    50: '#6e958a',
    500: '#306a5d',
    950: '#000000',
  },
}
SCSS
$custom: #306a5d;
$custom-light: #6e958a;
$custom-dark: #000000;
JSON
{
  "hex": "#306a5d",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 93
  },
  "hsl": {
    "h": 166.552,
    "s": 37.662,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48129,
    "c": 0.06475,
    "h": 176.7
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#306A5D
secondary
#9B5A69
accent
#5A74CE
background
#F6F9F8
surface
#ECF1F0
border
#C7CBCB
text
#070D0B
muted
#7A7E7C

Preview Lab

Preview with #306A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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