#306FB3#306FB3

#306FB3 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.125 H 252.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#306FB3
RGBrgb(48, 111, 179)
HSLhsl(211, 58%, 45%)
HSVhsv(211, 73%, 70%)
CMYKcmyk(73.2%, 38%, 0%, 29.8%)
CIE-LABlab(45.98, 3.29, -41.89)
CIE-LCHlch(45.98, 42.02, 274.49°)
OKLaboklab(53.46% -0.0372 -0.1193)
OKLCHoklch(53.46% 0.125 252.7)
XYZxyz(15.0370, 15.2503, 44.7902)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FB3 #B37430
analogous
#30B1B3 #306FB3 #3330B3
triadic
#306FB3 #B3306F #6FB330
tetradic
#306FB3 #B330B1 #B37430 #30B333
square
#306FB3 #B330B1 #B37430 #30B333
split-complementary
#306FB3 #B33330 #B1B330
monochromatic
#163352 #235183 #306FB3 #508ED0 #80ADDD

Accessibility & contrast

On white

5.18
#306FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#306FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FB3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FB3#FFFFFF#000000##FFFFFF
##306FB31.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B6
Deuteranopia (green-blind)
#3C67B2
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306fb3;
/* rgb */ color: rgb(48, 111, 179);
/* oklch */ color: oklch(53.5% 0.125 252.7);
Tailwind
colors: {
  custom: {
    50: '#7997ca',
    500: '#306fb3',
    950: '#000000',
  },
}
SCSS
$custom: #306fb3;
$custom-light: #7997ca;
$custom-dark: #000000;
JSON
{
  "hex": "#306fb3",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 179
  },
  "hsl": {
    "h": 211.145,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53458,
    "c": 0.12497,
    "h": 252.7
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#306FB3
secondary
#C6A179
accent
#9747E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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