#307198#307198

#307198 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.4% C 0.090 H 238.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#307198
RGBrgb(48, 113, 152)
HSLhsl(203, 52%, 39%)
HSVhsv(203, 68%, 60%)
CMYKcmyk(68.4%, 25.7%, 0%, 40.4%)
CIE-LABlab(45.23, -7.69, -27.22)
CIE-LCHlch(45.23, 28.29, 254.22°)
OKLaboklab(52.43% -0.0473 -0.0766)
OKLCHoklch(52.43% 0.09 238.3)
XYZxyz(12.7894, 14.7043, 31.8639)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307198 #985730
analogous
#30988B #307198 #303D98
triadic
#307198 #983071 #719830
tetradic
#307198 #8B3098 #985730 #3D9830
square
#307198 #8B3098 #985730 #3D9830
split-complementary
#307198 #98303D #988B30
monochromatic
#132C3B #214E69 #307198 #4293C3 #70ADD2

Accessibility & contrast

On white

5.33
#307198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#307198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307198
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307198#FFFFFF#000000##FFFFFF
##3071981.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F719A
Deuteranopia (green-blind)
#516697
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307198;
/* rgb */ color: rgb(48, 113, 152);
/* oklch */ color: oklch(52.4% 0.090 238.3);
Tailwind
colors: {
  custom: {
    50: '#7599b6',
    500: '#307198',
    950: '#000000',
  },
}
SCSS
$custom: #307198;
$custom-light: #7599b6;
$custom-dark: #000000;
JSON
{
  "hex": "#307198",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 202.5,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.09002,
    "h": 238.3
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#307198
secondary
#BA886A
accent
#824CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #307198

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

Preview Lab → · Contrast checker → · Palette generator →

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