#306EB5#306EB5

#306EB5 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.129 H 253.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#306EB5
RGBrgb(48, 110, 181)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(73.5%, 39.2%, 0%, 29%)
CIE-LABlab(45.79, 4.65, -43.35)
CIE-LCHlch(45.79, 43.60, 276.13°)
OKLaboklab(53.35% -0.0357 -0.1236)
OKLCHoklch(53.35% 0.129 253.9)
XYZxyz(15.1323, 15.1147, 45.8270)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EB5 #B57730
analogous
#30B1B5 #306EB5 #3430B5
triadic
#306EB5 #B5306E #6EB530
tetradic
#306EB5 #B530B1 #B57730 #30B534
square
#306EB5 #B530B1 #B57730 #30B534
split-complementary
#306EB5 #B53430 #B1B530
monochromatic
#163354 #235185 #306EB5 #518DD1 #82ADDE

Accessibility & contrast

On white

5.22
#306EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#306EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EB5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EB5#FFFFFF#000000##FFFFFF
##306EB51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B8
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306eb5;
/* rgb */ color: rgb(48, 110, 181);
/* oklch */ color: oklch(53.3% 0.129 253.9);
Tailwind
colors: {
  custom: {
    50: '#7a97cb',
    500: '#306eb5',
    950: '#000000',
  },
}
SCSS
$custom: #306eb5;
$custom-light: #7a97cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306eb5",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 181
  },
  "hsl": {
    "h": 212.03,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.12866,
    "h": 253.9
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#306EB5
secondary
#C7A37A
accent
#9946E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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