#306DB3#306DB3

#306DB3 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.127 H 253.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#306DB3
RGBrgb(48, 109, 179)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 70%)
CMYKcmyk(73.2%, 39.1%, 0%, 29.8%)
CIE-LABlab(45.38, 4.53, -42.83)
CIE-LCHlch(45.38, 43.07, 276.04°)
OKLaboklab(53% -0.0353 -0.1221)
OKLCHoklch(53% 0.127 253.9)
XYZxyz(14.8212, 14.8187, 44.7183)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DB3 #B37630
analogous
#30AFB3 #306DB3 #3530B3
triadic
#306DB3 #B3306D #6DB330
tetradic
#306DB3 #B330AF #B37630 #30B335
square
#306DB3 #B330AF #B37630 #30B335
split-complementary
#306DB3 #B33530 #AFB330
monochromatic
#163252 #235083 #306DB3 #508CD0 #80ACDD

Accessibility & contrast

On white

5.30
#306DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#306DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DB3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DB3#FFFFFF#000000##FFFFFF
##306DB31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306db3;
/* rgb */ color: rgb(48, 109, 179);
/* oklch */ color: oklch(53.0% 0.127 253.9);
Tailwind
colors: {
  custom: {
    50: '#7996ca',
    500: '#306db3',
    950: '#000000',
  },
}
SCSS
$custom: #306db3;
$custom-light: #7996ca;
$custom-dark: #000000;
JSON
{
  "hex": "#306db3",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 179
  },
  "hsl": {
    "h": 212.061,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.12709,
    "h": 253.9
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#306DB3
secondary
#C6A279
accent
#9947E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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