#307899#307899

#307899 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.087 H 231.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#307899
RGBrgb(48, 120, 153)
HSLhsl(199, 52%, 39%)
HSVhsv(199, 69%, 60%)
CMYKcmyk(68.6%, 21.6%, 0%, 40%)
CIE-LABlab(47.44, -11.41, -24.37)
CIE-LCHlch(47.44, 26.91, 244.91°)
OKLaboklab(54.2% -0.0545 -0.0683)
OKLCHoklch(54.2% 0.087 231.4)
XYZxyz(13.6829, 16.3597, 32.5674)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307899 #995130
analogous
#309986 #307899 #304499
triadic
#307899 #993078 #789930
tetradic
#307899 #863099 #995130 #449930
square
#307899 #863099 #995130 #449930
split-complementary
#307899 #993044 #998630
monochromatic
#132F3C #21536A #307899 #429BC4 #71B4D2

Accessibility & contrast

On white

4.92
#307899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#307899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307899
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307899#FFFFFF#000000##FFFFFF
##3078991.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #307899;
/* rgb */ color: rgb(48, 120, 153);
/* oklch */ color: oklch(54.2% 0.087 231.4);
Tailwind
colors: {
  custom: {
    50: '#759fb7',
    500: '#307899',
    950: '#000000',
  },
}
SCSS
$custom: #307899;
$custom-light: #759fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#307899",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 198.857,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.08739,
    "h": 231.4
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#307899
secondary
#BA846B
accent
#794CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #307899

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

Preview Lab → · Contrast checker → · Palette generator →

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