#306DAF#306DAF

#306DAF is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.8% C 0.122 H 252.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#306DAF
RGBrgb(48, 109, 175)
HSLhsl(211, 57%, 44%)
HSVhsv(211, 73%, 69%)
CMYKcmyk(72.6%, 37.7%, 0%, 31.4%)
CIE-LABlab(45.16, 3.05, -40.84)
CIE-LCHlch(45.16, 40.96, 274.27°)
OKLaboklab(52.75% -0.0363 -0.1163)
OKLCHoklch(52.75% 0.122 252.7)
XYZxyz(14.4225, 14.6592, 42.6185)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DAF #AF7230
analogous
#30ACAF #306DAF #3230AF
triadic
#306DAF #AF306D #6DAF30
tetradic
#306DAF #AF30AC #AF7230 #30AF32
square
#306DAF #AF30AC #AF7230 #30AF32
split-complementary
#306DAF #AF3230 #ACAF30
monochromatic
#16314F #234F7F #306DAF #4E8CCE #7EABDC

Accessibility & contrast

On white

5.34
#306DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#306DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DAF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DAF#FFFFFF#000000##FFFFFF
##306DAF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B2
Deuteranopia (green-blind)
#3C65AE
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306daf;
/* rgb */ color: rgb(48, 109, 175);
/* oklch */ color: oklch(52.8% 0.122 252.7);
Tailwind
colors: {
  custom: {
    50: '#7896c7',
    500: '#306daf',
    950: '#000000',
  },
}
SCSS
$custom: #306daf;
$custom-light: #7896c7;
$custom-dark: #000000;
JSON
{
  "hex": "#306daf",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 175
  },
  "hsl": {
    "h": 211.181,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52753,
    "c": 0.12181,
    "h": 252.7
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#306DAF
secondary
#C49F76
accent
#9748E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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