#307B9D#307B9D

#307B9D is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.090 H 231.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#307B9D
RGBrgb(48, 123, 157)
HSLhsl(199, 53%, 40%)
HSVhsv(199, 69%, 62%)
CMYKcmyk(69.4%, 21.7%, 0%, 38.4%)
CIE-LABlab(48.54, -11.75, -25.01)
CIE-LCHlch(48.54, 27.63, 244.83°)
OKLaboklab(55.14% -0.0562 -0.0701)
OKLCHoklch(55.14% 0.09 231.3)
XYZxyz(14.3853, 17.2270, 34.4588)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B9D #9D5230
analogous
#309D89 #307B9D #30449D
triadic
#307B9D #9D307B #7B9D30
tetradic
#307B9D #89309D #9D5230 #449D30
square
#307B9D #89309D #9D5230 #449D30
split-complementary
#307B9D #9D3044 #9D8930
monochromatic
#13323F #22566E #307B9D #449DC6 #73B6D4

Accessibility & contrast

On white

4.72
#307B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#307B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B9D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B9D#FFFFFF#000000##FFFFFF
##307B9D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A799F
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #307b9d;
/* rgb */ color: rgb(48, 123, 157);
/* oklch */ color: oklch(55.1% 0.090 231.3);
Tailwind
colors: {
  custom: {
    50: '#76a1ba',
    500: '#307b9d',
    950: '#000000',
  },
}
SCSS
$custom: #307b9d;
$custom-light: #76a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#307b9d",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 157
  },
  "hsl": {
    "h": 198.716,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55137,
    "c": 0.08989,
    "h": 231.3
  },
  "luminance": 0.17229
}

Semantic roles & 50–950 ramp

primary
#307B9D
secondary
#BC856D
accent
#794BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #307B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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