#306BB3#306BB3

#306BB3 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.129 H 255.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#306BB3
RGBrgb(48, 107, 179)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 70%)
CMYKcmyk(73.2%, 40.2%, 0%, 29.8%)
CIE-LABlab(44.80, 5.79, -43.76)
CIE-LCHlch(44.80, 44.14, 277.53°)
OKLaboklab(52.54% -0.0334 -0.1249)
OKLCHoklch(52.54% 0.129 255)
XYZxyz(14.6103, 14.3968, 44.6480)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BB3 #B37830
analogous
#30ADB3 #306BB3 #3730B3
triadic
#306BB3 #B3306B #6BB330
tetradic
#306BB3 #B330AD #B37830 #30B337
square
#306BB3 #B330AD #B37830 #30B337
split-complementary
#306BB3 #B33730 #ADB330
monochromatic
#163152 #234E83 #306BB3 #508AD0 #80AADD

Accessibility & contrast

On white

5.41
#306BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#306BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BB3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BB3#FFFFFF#000000##FFFFFF
##306BB31.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#3464B2
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306bb3;
/* rgb */ color: rgb(48, 107, 179);
/* oklch */ color: oklch(52.5% 0.129 255.0);
Tailwind
colors: {
  custom: {
    50: '#7994ca',
    500: '#306bb3',
    950: '#000000',
  },
}
SCSS
$custom: #306bb3;
$custom-light: #7994ca;
$custom-dark: #000000;
JSON
{
  "hex": "#306bb3",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 212.977,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.12927,
    "h": 255
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#306BB3
secondary
#C6A379
accent
#9C47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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