#306789#306789

#306789 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.2% C 0.080 H 238.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#306789
RGBrgb(48, 103, 137)
HSLhsl(203, 48%, 36%)
HSVhsv(203, 65%, 54%)
CMYKcmyk(65%, 24.8%, 0%, 46.3%)
CIE-LABlab(41.43, -6.99, -24.18)
CIE-LCHlch(41.43, 25.17, 253.87°)
OKLaboklab(49.19% -0.0416 -0.0679)
OKLCHoklch(49.19% 0.08 238.5)
XYZxyz(10.5828, 12.1340, 25.4464)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306789 #895230
analogous
#30897F #306789 #303B89
triadic
#306789 #893067 #678930
tetradic
#306789 #7F3089 #895230 #3B8930
square
#306789 #7F3089 #895230 #3B8930
split-complementary
#306789 #89303B #897F30
monochromatic
#10232E #20455C #306789 #4089B6 #69A5CA

Accessibility & contrast

On white

6.13
#306789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#306789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306789
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306789#FFFFFF#000000##FFFFFF
##3067891.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678B
Deuteranopia (green-blind)
#4B5E88
Tritanopia (blue-blind)
#007073
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306789;
/* rgb */ color: rgb(48, 103, 137);
/* oklch */ color: oklch(49.2% 0.080 238.5);
Tailwind
colors: {
  custom: {
    50: '#7292ab',
    500: '#306789',
    950: '#000000',
  },
}
SCSS
$custom: #306789;
$custom-light: #7292ab;
$custom-dark: #000000;
JSON
{
  "hex": "#306789",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 137
  },
  "hsl": {
    "h": 202.921,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.07963,
    "h": 238.5
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#306789
secondary
#B28163
accent
#8450D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #306789

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

Preview Lab → · Contrast checker → · Palette generator →

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