#306799#306799

#306799 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.099 H 248.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#306799
RGBrgb(48, 103, 153)
HSLhsl(209, 52%, 39%)
HSVhsv(209, 69%, 60%)
CMYKcmyk(68.6%, 32.7%, 0%, 40%)
CIE-LABlab(42.20, -1.30, -32.56)
CIE-LCHlch(42.20, 32.58, 267.72°)
OKLaboklab(50.05% -0.0363 -0.0921)
OKLCHoklch(50.05% 0.099 248.5)
XYZxyz(11.8168, 12.6276, 31.9454)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306799 #996230
analogous
#309997 #306799 #303399
triadic
#306799 #993067 #679930
tetradic
#306799 #973099 #996230 #339930
square
#306799 #973099 #996230 #339930
split-complementary
#306799 #993033 #999730
monochromatic
#13283C #21486A #306799 #4286C4 #71A4D2

Accessibility & contrast

On white

5.96
#306799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#306799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306799
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306799#FFFFFF#000000##FFFFFF
##3067991.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699B
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #306799;
/* rgb */ color: rgb(48, 103, 153);
/* oklch */ color: oklch(50.0% 0.099 248.5);
Tailwind
colors: {
  custom: {
    50: '#7492b7',
    500: '#306799',
    950: '#000000',
  },
}
SCSS
$custom: #306799;
$custom-light: #7492b7;
$custom-dark: #000000;
JSON
{
  "hex": "#306799",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 208.571,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.09905,
    "h": 248.5
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#306799
secondary
#BA916B
accent
#904CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #306799

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

Preview Lab → · Contrast checker → · Palette generator →

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