#306DB5#306DB5

#306DB5 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.130 H 254.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#306DB5
RGBrgb(48, 109, 181)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(73.5%, 39.8%, 0%, 29%)
CIE-LABlab(45.50, 5.28, -43.81)
CIE-LCHlch(45.50, 44.13, 276.87°)
OKLaboklab(53.12% -0.0348 -0.125)
OKLCHoklch(53.12% 0.13 254.4)
XYZxyz(15.0250, 14.9002, 45.7913)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DB5 #B57830
analogous
#30B0B5 #306DB5 #3530B5
triadic
#306DB5 #B5306D #6DB530
tetradic
#306DB5 #B530B0 #B57830 #30B535
square
#306DB5 #B530B0 #B57830 #30B535
split-complementary
#306DB5 #B53530 #B0B530
monochromatic
#163354 #235085 #306DB5 #518CD1 #82ACDE

Accessibility & contrast

On white

5.28
#306DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#306DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DB5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DB5#FFFFFF#000000##FFFFFF
##306DB51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#3666B4
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306db5;
/* rgb */ color: rgb(48, 109, 181);
/* oklch */ color: oklch(53.1% 0.130 254.4);
Tailwind
colors: {
  custom: {
    50: '#7a96cb',
    500: '#306db5',
    950: '#000000',
  },
}
SCSS
$custom: #306db5;
$custom-light: #7a96cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306db5",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 181
  },
  "hsl": {
    "h": 212.481,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.12974,
    "h": 254.4
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#306DB5
secondary
#C7A47A
accent
#9A46E1
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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