#306A8F#306A8F

#306A8F is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.2% C 0.084 H 239.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#306A8F
RGBrgb(48, 106, 143)
HSLhsl(203, 50%, 37%)
HSVhsv(203, 66%, 56%)
CMYKcmyk(66.4%, 25.9%, 0%, 43.9%)
CIE-LABlab(42.64, -6.69, -25.89)
CIE-LCHlch(42.64, 26.74, 255.51°)
OKLaboklab(50.24% -0.0429 -0.0728)
OKLCHoklch(50.24% 0.084 239.5)
XYZxyz(11.3290, 12.9185, 27.8777)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A8F #8F5530
analogous
#308F84 #306A8F #303B8F
triadic
#306A8F #8F306A #6A8F30
tetradic
#306A8F #84308F #8F5530 #3B8F30
square
#306A8F #84308F #8F5530 #3B8F30
split-complementary
#306A8F #8F303B #8F8430
monochromatic
#112633 #214861 #306A8F #3F8CBD #6CA8CE

Accessibility & contrast

On white

5.86
#306A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#306A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A8F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A8F#FFFFFF#000000##FFFFFF
##306A8F1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#007377
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #306a8f;
/* rgb */ color: rgb(48, 106, 143);
/* oklch */ color: oklch(50.2% 0.084 239.5);
Tailwind
colors: {
  custom: {
    50: '#7394b0',
    500: '#306a8f',
    950: '#000000',
  },
}
SCSS
$custom: #306a8f;
$custom-light: #7394b0;
$custom-dark: #000000;
JSON
{
  "hex": "#306a8f",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 143
  },
  "hsl": {
    "h": 203.368,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.08448,
    "h": 239.5
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#306A8F
secondary
#B58566
accent
#854FD9
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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