#306A8A#306A8A

#306A8A is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.0% C 0.079 H 235.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#306A8A
RGBrgb(48, 106, 138)
HSLhsl(201, 48%, 36%)
HSVhsv(201, 65%, 54%)
CMYKcmyk(65.2%, 23.2%, 0%, 45.9%)
CIE-LABlab(42.42, -8.43, -23.25)
CIE-LCHlch(42.42, 24.73, 250.06°)
OKLaboklab(49.99% -0.0447 -0.0652)
OKLCHoklch(49.99% 0.079 235.6)
XYZxyz(10.9586, 12.7703, 25.9272)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A8A #8A5030
analogous
#308A7D #306A8A #303D8A
triadic
#306A8A #8A306A #6A8A30
tetradic
#306A8A #7D308A #8A5030 #3D8A30
square
#306A8A #7D308A #8A5030 #3D8A30
split-complementary
#306A8A #8A303D #8A7D30
monochromatic
#10242F #20475D #306A8A #408DB7 #69A8CB

Accessibility & contrast

On white

5.91
#306A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#306A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A8A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A8A#FFFFFF#000000##FFFFFF
##306A8A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B698C
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#007275
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #306a8a;
/* rgb */ color: rgb(48, 106, 138);
/* oklch */ color: oklch(50.0% 0.079 235.6);
Tailwind
colors: {
  custom: {
    50: '#7294ac',
    500: '#306a8a',
    950: '#000000',
  },
}
SCSS
$custom: #306a8a;
$custom-light: #7294ac;
$custom-dark: #000000;
JSON
{
  "hex": "#306a8a",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 201.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.07902,
    "h": 235.6
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#306A8A
secondary
#B28064
accent
#8050D8
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #306A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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