#306197#306197

#306197 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.5% C 0.102 H 252.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#306197
RGBrgb(48, 97, 151)
HSLhsl(211, 52%, 39%)
HSVhsv(211, 68%, 59%)
CMYKcmyk(68.2%, 35.8%, 0%, 40.8%)
CIE-LABlab(40.26, 1.71, -34.41)
CIE-LCHlch(40.26, 34.45, 272.85°)
OKLaboklab(48.5% -0.0306 -0.0976)
OKLCHoklch(48.5% 0.102 252.6)
XYZxyz(11.0775, 11.4110, 30.8909)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306197 #976630
analogous
#309597 #306197 #323097
triadic
#306197 #973061 #619730
tetradic
#306197 #973095 #976630 #309732
square
#306197 #973095 #976630 #309732
split-complementary
#306197 #973230 #959730
monochromatic
#12253A #214369 #306197 #417FC3 #709ED2

Accessibility & contrast

On white

6.40
#306197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#306197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306197
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306197#FFFFFF#000000##FFFFFF
##3061971.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#3B5A96
Tritanopia (blue-blind)
#006E75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306197;
/* rgb */ color: rgb(48, 97, 151);
/* oklch */ color: oklch(48.5% 0.102 252.6);
Tailwind
colors: {
  custom: {
    50: '#748db6',
    500: '#306197',
    950: '#000000',
  },
}
SCSS
$custom: #306197;
$custom-light: #748db6;
$custom-dark: #000000;
JSON
{
  "hex": "#306197",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 151
  },
  "hsl": {
    "h": 211.456,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48497,
    "c": 0.1023,
    "h": 252.6
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#306197
secondary
#B9936A
accent
#974DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #306197

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

Preview Lab → · Contrast checker → · Palette generator →

#306197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva