#307897#307897

#307897 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.086 H 229.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#307897
RGBrgb(48, 120, 151)
HSLhsl(198, 52%, 39%)
HSVhsv(198, 68%, 59%)
CMYKcmyk(68.2%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.36, -12.10, -23.32)
CIE-LCHlch(47.36, 26.27, 242.59°)
OKLaboklab(54.11% -0.0553 -0.0653)
OKLCHoklch(54.11% 0.086 229.8)
XYZxyz(13.5191, 16.2942, 31.7048)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307897 #974F30
analogous
#309783 #307897 #304597
triadic
#307897 #973078 #789730
tetradic
#307897 #833097 #974F30 #459730
square
#307897 #833097 #974F30 #459730
split-complementary
#307897 #973045 #978330
monochromatic
#122E3A #215369 #307897 #419CC3 #70B4D2

Accessibility & contrast

On white

4.93
#307897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#307897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307897
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307897#FFFFFF#000000##FFFFFF
##3078971.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307897;
/* rgb */ color: rgb(48, 120, 151);
/* oklch */ color: oklch(54.1% 0.086 229.8);
Tailwind
colors: {
  custom: {
    50: '#759fb5',
    500: '#307897',
    950: '#000000',
  },
}
SCSS
$custom: #307897;
$custom-light: #759fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#307897",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 198.058,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.08556,
    "h": 229.8
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

primary
#307897
secondary
#B9826A
accent
#784DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #307897

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

Preview Lab → · Contrast checker → · Palette generator →

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