#306F98#306F98

#306F98 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.9% C 0.091 H 240.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#306F98
RGBrgb(48, 111, 152)
HSLhsl(204, 52%, 39%)
HSVhsv(204, 68%, 60%)
CMYKcmyk(68.4%, 27%, 0%, 40.4%)
CIE-LABlab(44.61, -6.51, -28.18)
CIE-LCHlch(44.61, 28.93, 257.00°)
OKLaboklab(51.93% -0.0452 -0.0794)
OKLCHoklch(51.93% 0.091 240.3)
XYZxyz(12.5687, 14.2629, 31.7903)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F98 #985930
analogous
#30988D #306F98 #303B98
triadic
#306F98 #98306F #6F9830
tetradic
#306F98 #8D3098 #985930 #3B9830
square
#306F98 #8D3098 #985930 #3B9830
split-complementary
#306F98 #98303B #988D30
monochromatic
#132B3B #214D69 #306F98 #4290C3 #70ACD2

Accessibility & contrast

On white

5.45
#306F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#306F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F98
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F98#FFFFFF#000000##FFFFFF
##306F981.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306f98;
/* rgb */ color: rgb(48, 111, 152);
/* oklch */ color: oklch(51.9% 0.091 240.3);
Tailwind
colors: {
  custom: {
    50: '#7498b6',
    500: '#306f98',
    950: '#000000',
  },
}
SCSS
$custom: #306f98;
$custom-light: #7498b6;
$custom-dark: #000000;
JSON
{
  "hex": "#306f98",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 152
  },
  "hsl": {
    "h": 203.654,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.09134,
    "h": 240.3
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#306F98
secondary
#BA8A6A
accent
#854CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #306F98

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

Preview Lab → · Contrast checker → · Palette generator →

#306F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva