#307F9D#307F9D

#307F9D is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.088 H 226.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#307F9D
RGBrgb(48, 127, 157)
HSLhsl(197, 53%, 40%)
HSVhsv(197, 69%, 62%)
CMYKcmyk(69.4%, 19.1%, 0%, 38.4%)
CIE-LABlab(49.79, -14.01, -23.09)
CIE-LCHlch(49.79, 27.01, 238.76°)
OKLaboklab(56.13% -0.0605 -0.0646)
OKLCHoklch(56.13% 0.089 226.9)
XYZxyz(14.8917, 18.2398, 34.6276)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F9D #9D4E30
analogous
#309D85 #307F9D #30489D
triadic
#307F9D #9D307F #7F9D30
tetradic
#307F9D #85309D #9D4E30 #489D30
square
#307F9D #85309D #9D4E30 #489D30
split-complementary
#307F9D #9D3048 #9D8530
monochromatic
#13333F #22596E #307F9D #44A2C6 #73BAD4

Accessibility & contrast

On white

4.52
#307F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#307F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #307F9D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F9D#FFFFFF#000000##000000
##307F9D1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7D9F
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #307f9d;
/* rgb */ color: rgb(48, 127, 157);
/* oklch */ color: oklch(56.1% 0.088 226.9);
Tailwind
colors: {
  custom: {
    50: '#76a4ba',
    500: '#307f9d',
    950: '#000000',
  },
}
SCSS
$custom: #307f9d;
$custom-light: #76a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#307f9d",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 196.514,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.0885,
    "h": 226.9
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#307F9D
secondary
#BC836D
accent
#734BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #307F9D

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

Preview Lab → · Contrast checker → · Palette generator →

#307F9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva