#306BA5#306BA5

#306BA5 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.7% C 0.111 H 250.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#306BA5
RGBrgb(48, 107, 165)
HSLhsl(210, 55%, 42%)
HSVhsv(210, 71%, 65%)
CMYKcmyk(70.9%, 35.2%, 0%, 35.3%)
CIE-LABlab(44.03, 0.61, -36.77)
CIE-LCHlch(44.03, 36.78, 270.95°)
OKLaboklab(51.69% -0.037 -0.1044)
OKLCHoklch(51.69% 0.111 250.5)
XYZxyz(13.2656, 13.8590, 37.5659)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BA5 #A56A30
analogous
#30A5A5 #306BA5 #3030A5
triadic
#306BA5 #A5306B #6BA530
tetradic
#306BA5 #A530A5 #A56A30 #30A530
square
#306BA5 #A530A5 #A56A30 #30A530
split-complementary
#306BA5 #A53030 #A5A530
monochromatic
#142E46 #224C76 #306BA5 #488ACA #78A8D8

Accessibility & contrast

On white

5.57
#306BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#306BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BA5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BA5#FFFFFF#000000##FFFFFF
##306BA51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306ba5;
/* rgb */ color: rgb(48, 107, 165);
/* oklch */ color: oklch(51.7% 0.111 250.5);
Tailwind
colors: {
  custom: {
    50: '#7795c0',
    500: '#306ba5',
    950: '#000000',
  },
}
SCSS
$custom: #306ba5;
$custom-light: #7795c0;
$custom-dark: #000000;
JSON
{
  "hex": "#306ba5",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 165
  },
  "hsl": {
    "h": 209.744,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.11075,
    "h": 250.5
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#306BA5
secondary
#C09871
accent
#934ADE
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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