#306897#306897

#306897 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.2% C 0.096 H 246.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#306897
RGBrgb(48, 104, 151)
HSLhsl(207, 52%, 39%)
HSVhsv(207, 68%, 59%)
CMYKcmyk(68.2%, 31.1%, 0%, 40.8%)
CIE-LABlab(42.40, -2.64, -31.04)
CIE-LCHlch(42.40, 31.15, 265.15°)
OKLaboklab(50.18% -0.038 -0.0877)
OKLCHoklch(50.18% 0.096 246.6)
XYZxyz(11.7531, 12.7622, 31.1161)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306897 #975F30
analogous
#309793 #306897 #303497
triadic
#306897 #973068 #689730
tetradic
#306897 #933097 #975F30 #349730
square
#306897 #933097 #975F30 #349730
split-complementary
#306897 #973034 #979330
monochromatic
#12283A #214869 #306897 #4188C3 #70A5D2

Accessibility & contrast

On white

5.91
#306897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#306897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306897
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306897#FFFFFF#000000##FFFFFF
##3068971.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #306897;
/* rgb */ color: rgb(48, 104, 151);
/* oklch */ color: oklch(50.2% 0.096 246.6);
Tailwind
colors: {
  custom: {
    50: '#7492b6',
    500: '#306897',
    950: '#000000',
  },
}
SCSS
$custom: #306897;
$custom-light: #7492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#306897",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 207.379,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.09561,
    "h": 246.6
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#306897
secondary
#B98E6A
accent
#8E4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #306897

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

Preview Lab → · Contrast checker → · Palette generator →

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