#306D97#306D97

#306D97 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.4% C 0.092 H 241.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#306D97
RGBrgb(48, 109, 151)
HSLhsl(204, 52%, 39%)
HSVhsv(204, 68%, 59%)
CMYKcmyk(68.2%, 27.8%, 0%, 40.8%)
CIE-LABlab(43.94, -5.67, -28.63)
CIE-LCHlch(43.94, 29.18, 258.81°)
OKLaboklab(51.39% -0.0434 -0.0807)
OKLCHoklch(51.39% 0.092 241.7)
XYZxyz(12.2713, 13.7987, 31.2889)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D97 #975A30
analogous
#30978E #306D97 #303A97
triadic
#306D97 #97306D #6D9730
tetradic
#306D97 #8E3097 #975A30 #3A9730
square
#306D97 #8E3097 #975A30 #3A9730
split-complementary
#306D97 #97303A #978E30
monochromatic
#122A3A #214B69 #306D97 #418EC3 #70AAD2

Accessibility & contrast

On white

5.59
#306D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#306D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D97
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D97#FFFFFF#000000##FFFFFF
##306D971.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D99
Deuteranopia (green-blind)
#4C6396
Tritanopia (blue-blind)
#00777C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306d97;
/* rgb */ color: rgb(48, 109, 151);
/* oklch */ color: oklch(51.4% 0.092 241.7);
Tailwind
colors: {
  custom: {
    50: '#7496b5',
    500: '#306d97',
    950: '#000000',
  },
}
SCSS
$custom: #306d97;
$custom-light: #7496b5;
$custom-dark: #000000;
JSON
{
  "hex": "#306d97",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 204.466,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.0916,
    "h": 241.7
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#306D97
secondary
#B98A6A
accent
#874DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #306D97

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

Preview Lab → · Contrast checker → · Palette generator →

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