#306E8B#306E8B

#306E8B is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.0% C 0.078 H 231.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#306E8B
RGBrgb(48, 110, 139)
HSLhsl(199, 49%, 37%)
HSVhsv(199, 65%, 55%)
CMYKcmyk(65.5%, 20.9%, 0%, 45.5%)
CIE-LABlab(43.72, -10.44, -21.83)
CIE-LCHlch(43.72, 24.20, 244.45°)
OKLaboklab(51.04% -0.0488 -0.0611)
OKLCHoklch(51.04% 0.078 231.4)
XYZxyz(11.4532, 13.6431, 26.4509)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E8B #8B4D30
analogous
#308B7B #306E8B #30418B
triadic
#306E8B #8B306E #6E8B30
tetradic
#306E8B #7B308B #8B4D30 #418B30
square
#306E8B #7B308B #8B4D30 #418B30
split-complementary
#306E8B #8B3041 #8B7B30
monochromatic
#112630 #204A5E #306E8B #4092B8 #6AACCC

Accessibility & contrast

On white

5.63
#306E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#306E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E8B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E8B#FFFFFF#000000##FFFFFF
##306E8B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #306e8b;
/* rgb */ color: rgb(48, 110, 139);
/* oklch */ color: oklch(51.0% 0.078 231.4);
Tailwind
colors: {
  custom: {
    50: '#7297ad',
    500: '#306e8b',
    950: '#000000',
  },
}
SCSS
$custom: #306e8b;
$custom-light: #7297ad;
$custom-dark: #000000;
JSON
{
  "hex": "#306e8b",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 139
  },
  "hsl": {
    "h": 199.121,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.0782,
    "h": 231.4
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#306E8B
secondary
#B37D64
accent
#7B50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #306E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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