#307799#307799

#307799 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.0% C 0.088 H 232.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#307799
RGBrgb(48, 119, 153)
HSLhsl(199, 52%, 39%)
HSVhsv(199, 69%, 60%)
CMYKcmyk(68.6%, 22.2%, 0%, 40%)
CIE-LABlab(47.13, -10.84, -24.85)
CIE-LCHlch(47.13, 27.11, 246.44°)
OKLaboklab(53.96% -0.0534 -0.0697)
OKLCHoklch(53.96% 0.088 232.5)
XYZxyz(13.5633, 16.1205, 32.5276)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307799 #995230
analogous
#309987 #307799 #304299
triadic
#307799 #993077 #779930
tetradic
#307799 #873099 #995230 #429930
square
#307799 #873099 #995230 #429930
split-complementary
#307799 #993042 #998730
monochromatic
#132F3C #21536A #307799 #429AC4 #71B3D2

Accessibility & contrast

On white

4.97
#307799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#307799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307799
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307799#FFFFFF#000000##FFFFFF
##3077991.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66769B
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307799;
/* rgb */ color: rgb(48, 119, 153);
/* oklch */ color: oklch(54.0% 0.088 232.5);
Tailwind
colors: {
  custom: {
    50: '#759eb7',
    500: '#307799',
    950: '#000000',
  },
}
SCSS
$custom: #307799;
$custom-light: #759eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#307799",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 199.429,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.08782,
    "h": 232.5
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#307799
secondary
#BA846B
accent
#7B4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #307799

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

Preview Lab → · Contrast checker → · Palette generator →

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