#306E98#306E98

#306E98 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.7% C 0.092 H 241.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#306E98
RGBrgb(48, 110, 152)
HSLhsl(204, 52%, 39%)
HSVhsv(204, 68%, 60%)
CMYKcmyk(68.4%, 27.6%, 0%, 40.4%)
CIE-LABlab(44.30, -5.91, -28.67)
CIE-LCHlch(44.30, 29.27, 258.35°)
OKLaboklab(51.69% -0.0441 -0.0808)
OKLCHoklch(51.69% 0.092 241.4)
XYZxyz(12.4602, 14.0459, 31.7541)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E98 #985A30
analogous
#30988E #306E98 #303A98
triadic
#306E98 #98306E #6E9830
tetradic
#306E98 #8E3098 #985A30 #3A9830
square
#306E98 #8E3098 #985A30 #3A9830
split-complementary
#306E98 #98303A #988E30
monochromatic
#132B3B #214C69 #306E98 #428FC3 #70ABD2

Accessibility & contrast

On white

5.51
#306E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#306E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E98
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E98#FFFFFF#000000##FFFFFF
##306E981.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E9A
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#00787D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306e98;
/* rgb */ color: rgb(48, 110, 152);
/* oklch */ color: oklch(51.7% 0.092 241.4);
Tailwind
colors: {
  custom: {
    50: '#7497b6',
    500: '#306e98',
    950: '#000000',
  },
}
SCSS
$custom: #306e98;
$custom-light: #7497b6;
$custom-dark: #000000;
JSON
{
  "hex": "#306e98",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 152
  },
  "hsl": {
    "h": 204.231,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.09204,
    "h": 241.4
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306E98

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

Preview Lab → · Contrast checker → · Palette generator →

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