#307795#307795

#307795 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.8% C 0.084 H 229.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#307795
RGBrgb(48, 119, 149)
HSLhsl(198, 51%, 39%)
HSVhsv(198, 68%, 58%)
CMYKcmyk(67.8%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.96, -12.21, -22.76)
CIE-LCHlch(46.96, 25.82, 241.79°)
OKLaboklab(53.76% -0.0549 -0.0637)
OKLCHoklch(53.76% 0.084 229.2)
XYZxyz(13.2384, 15.9905, 30.8167)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307795 #954E30
analogous
#309580 #307795 #304495
triadic
#307795 #953077 #779530
tetradic
#307795 #803095 #954E30 #449530
square
#307795 #803095 #954E30 #449530
split-complementary
#307795 #953044 #958030
monochromatic
#122D38 #215267 #307795 #419BC2 #6FB4D1

Accessibility & contrast

On white

5.00
#307795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#307795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307795
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307795#FFFFFF#000000##FFFFFF
##3077951.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687596
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307795;
/* rgb */ color: rgb(48, 119, 149);
/* oklch */ color: oklch(53.8% 0.084 229.2);
Tailwind
colors: {
  custom: {
    50: '#749eb4',
    500: '#307795',
    950: '#000000',
  },
}
SCSS
$custom: #307795;
$custom-light: #749eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#307795",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 197.822,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.08413,
    "h": 229.2
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#307795
secondary
#B88069
accent
#774DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #307795

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

Preview Lab → · Contrast checker → · Palette generator →

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