#306A8B#306A8B

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

Color values

HEX#306A8B
RGBrgb(48, 106, 139)
HSLhsl(202, 49%, 37%)
HSVhsv(202, 65%, 55%)
CMYKcmyk(65.5%, 23.7%, 0%, 45.5%)
CIE-LABlab(42.46, -8.09, -23.78)
CIE-LCHlch(42.46, 25.12, 251.22°)
OKLaboklab(50.04% -0.0443 -0.0667)
OKLCHoklch(50.04% 0.08 236.4)
XYZxyz(11.0314, 12.7994, 26.3103)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A8B #8B5130
analogous
#308B7F #306A8B #303D8B
triadic
#306A8B #8B306A #6A8B30
tetradic
#306A8B #7F308B #8B5130 #3D8B30
square
#306A8B #7F308B #8B5130 #3D8B30
split-complementary
#306A8B #8B303D #8B7F30
monochromatic
#112530 #20475E #306A8B #408DB8 #6AA8CC

Accessibility & contrast

On white

5.90
#306A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#306A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A8B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A8B#FFFFFF#000000##FFFFFF
##306A8B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698D
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#007375
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #306a8b;
/* rgb */ color: rgb(48, 106, 139);
/* oklch */ color: oklch(50.0% 0.080 236.4);
Tailwind
colors: {
  custom: {
    50: '#7294ad',
    500: '#306a8b',
    950: '#000000',
  },
}
SCSS
$custom: #306a8b;
$custom-light: #7294ad;
$custom-dark: #000000;
JSON
{
  "hex": "#306a8b",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 139
  },
  "hsl": {
    "h": 201.758,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.08008,
    "h": 236.4
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#306A8B
secondary
#B38164
accent
#8150D8
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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