#306399#306399

#306399 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 49.1% C 0.103 H 251.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#306399
RGBrgb(48, 99, 153)
HSLhsl(211, 52%, 39%)
HSVhsv(211, 69%, 60%)
CMYKcmyk(68.6%, 35.3%, 0%, 40%)
CIE-LABlab(40.98, 1.19, -34.48)
CIE-LCHlch(40.98, 34.50, 271.98°)
OKLaboklab(49.09% -0.0321 -0.0978)
OKLCHoklch(49.09% 0.103 251.8)
XYZxyz(11.4284, 11.8508, 31.8160)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306399 #996630
analogous
#309899 #306399 #313099
triadic
#306399 #993063 #639930
tetradic
#306399 #993098 #996630 #309931
square
#306399 #993098 #996630 #309931
split-complementary
#306399 #993130 #989930
monochromatic
#13273C #21456A #306399 #4281C4 #71A0D2

Accessibility & contrast

On white

6.23
#306399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#306399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306399
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306399#FFFFFF#000000##FFFFFF
##3063991.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#007077
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306399;
/* rgb */ color: rgb(48, 99, 153);
/* oklch */ color: oklch(49.1% 0.103 251.8);
Tailwind
colors: {
  custom: {
    50: '#748fb7',
    500: '#306399',
    950: '#000000',
  },
}
SCSS
$custom: #306399;
$custom-light: #748fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#306399",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 153
  },
  "hsl": {
    "h": 210.857,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49091,
    "c": 0.10295,
    "h": 251.8
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#306399
secondary
#BA946B
accent
#964CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #306399

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

Preview Lab → · Contrast checker → · Palette generator →

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