#306198#306198

#306198 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.6% C 0.104 H 253.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#306198
RGBrgb(48, 97, 152)
HSLhsl(212, 52%, 39%)
HSVhsv(212, 68%, 60%)
CMYKcmyk(68.4%, 36.2%, 0%, 40.4%)
CIE-LABlab(40.32, 2.08, -34.92)
CIE-LCHlch(40.32, 34.99, 273.41°)
OKLaboklab(48.56% -0.0303 -0.0991)
OKLCHoklch(48.56% 0.104 253)
XYZxyz(11.1590, 11.4436, 31.3204)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306198 #986730
analogous
#309598 #306198 #333098
triadic
#306198 #983061 #619830
tetradic
#306198 #983095 #986730 #309833
square
#306198 #983095 #986730 #309833
split-complementary
#306198 #983330 #959830
monochromatic
#13263B #214369 #306198 #427FC3 #709ED2

Accessibility & contrast

On white

6.38
#306198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#306198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306198
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306198#FFFFFF#000000##FFFFFF
##3061981.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49649A
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#006E75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306198;
/* rgb */ color: rgb(48, 97, 152);
/* oklch */ color: oklch(48.6% 0.104 253.0);
Tailwind
colors: {
  custom: {
    50: '#748db6',
    500: '#306198',
    950: '#000000',
  },
}
SCSS
$custom: #306198;
$custom-light: #748db6;
$custom-dark: #000000;
JSON
{
  "hex": "#306198",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 152
  },
  "hsl": {
    "h": 211.731,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.10365,
    "h": 253
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#306198
secondary
#BA946A
accent
#984CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #306198

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

Preview Lab → · Contrast checker → · Palette generator →

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