#306DA8#306DA8

#306DA8 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.3% C 0.113 H 250.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#306DA8
RGBrgb(48, 109, 168)
HSLhsl(210, 56%, 42%)
HSVhsv(210, 71%, 66%)
CMYKcmyk(71.4%, 35.1%, 0%, 34.1%)
CIE-LABlab(44.79, 0.47, -37.34)
CIE-LCHlch(44.79, 37.34, 270.73°)
OKLaboklab(52.34% -0.0381 -0.106)
OKLCHoklch(52.34% 0.113 250.2)
XYZxyz(13.7528, 14.3913, 39.0912)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DA8 #A86B30
analogous
#30A8A7 #306DA8 #3031A8
triadic
#306DA8 #A8306D #6DA830
tetradic
#306DA8 #A730A8 #A86B30 #31A830
square
#306DA8 #A730A8 #A86B30 #31A830
split-complementary
#306DA8 #A83031 #A8A730
monochromatic
#152F49 #224E78 #306DA8 #4A8CCB #7AAAD9

Accessibility & contrast

On white

5.41
#306DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#306DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DA8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DA8#FFFFFF#000000##FFFFFF
##306DA81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306da8;
/* rgb */ color: rgb(48, 109, 168);
/* oklch */ color: oklch(52.3% 0.113 250.2);
Tailwind
colors: {
  custom: {
    50: '#7796c2',
    500: '#306da8',
    950: '#000000',
  },
}
SCSS
$custom: #306da8;
$custom-light: #7796c2;
$custom-dark: #000000;
JSON
{
  "hex": "#306da8",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 168
  },
  "hsl": {
    "h": 209.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52337,
    "c": 0.11268,
    "h": 250.2
  },
  "luminance": 0.14393
}

Semantic roles & 50–950 ramp

primary
#306DA8
secondary
#C19973
accent
#9349DF
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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