#306DB2#306DB2

#306DB2 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 52.9% C 0.126 H 253.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#306DB2
RGBrgb(48, 109, 178)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 73%, 70%)
CMYKcmyk(73%, 38.8%, 0%, 30.2%)
CIE-LABlab(45.33, 4.16, -42.33)
CIE-LCHlch(45.33, 42.54, 275.62°)
OKLaboklab(52.94% -0.0355 -0.1206)
OKLCHoklch(52.94% 0.126 253.6)
XYZxyz(14.7205, 14.7784, 44.1876)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DB2 #B27530
analogous
#30AEB2 #306DB2 #3430B2
triadic
#306DB2 #B2306D #6DB230
tetradic
#306DB2 #B230AE #B27530 #30B234
square
#306DB2 #B230AE #B27530 #30B234
split-complementary
#306DB2 #B23430 #AEB230
monochromatic
#163252 #234F82 #306DB2 #508CD0 #80ABDD

Accessibility & contrast

On white

5.31
#306DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306DB2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DB2#FFFFFF#000000##FFFFFF
##306DB21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306db2;
/* rgb */ color: rgb(48, 109, 178);
/* oklch */ color: oklch(52.9% 0.126 253.6);
Tailwind
colors: {
  custom: {
    50: '#7996c9',
    500: '#306db2',
    950: '#000000',
  },
}
SCSS
$custom: #306db2;
$custom-light: #7996c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306db2",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 211.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.12577,
    "h": 253.6
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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