#306A8E#306A8E

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

Color values

HEX#306A8E
RGBrgb(48, 106, 142)
HSLhsl(203, 49%, 37%)
HSVhsv(203, 66%, 56%)
CMYKcmyk(66.2%, 25.4%, 0%, 44.3%)
CIE-LABlab(42.59, -7.04, -25.37)
CIE-LCHlch(42.59, 26.33, 254.49°)
OKLaboklab(50.19% -0.0432 -0.0713)
OKLCHoklch(50.19% 0.083 238.8)
XYZxyz(11.2536, 12.8883, 27.4806)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A8E #8E5430
analogous
#308E83 #306A8E #303B8E
triadic
#306A8E #8E306A #6A8E30
tetradic
#306A8E #83308E #8E5430 #3B8E30
square
#306A8E #83308E #8E5430 #3B8E30
split-complementary
#306A8E #8E303B #8E8330
monochromatic
#112633 #214860 #306A8E #3F8CBC #6BA8CD

Accessibility & contrast

On white

5.87
#306A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306A8E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A8E#FFFFFF#000000##FFFFFF
##306A8E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#4C608D
Tritanopia (blue-blind)
#007376
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #306a8e;
/* rgb */ color: rgb(48, 106, 142);
/* oklch */ color: oklch(50.2% 0.083 238.8);
Tailwind
colors: {
  custom: {
    50: '#7394af',
    500: '#306a8e',
    950: '#000000',
  },
}
SCSS
$custom: #306a8e;
$custom-light: #7394af;
$custom-dark: #000000;
JSON
{
  "hex": "#306a8e",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 142
  },
  "hsl": {
    "h": 202.979,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.08335,
    "h": 238.8
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#306A8E
secondary
#B48465
accent
#844FD9
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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