#306CB7#306CB7

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

Color values

HEX#306CB7
RGBrgb(48, 108, 183)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 74%, 72%)
CMYKcmyk(73.8%, 41%, 0%, 28.2%)
CIE-LABlab(45.32, 6.65, -45.26)
CIE-LCHlch(45.32, 45.75, 278.36°)
OKLaboklab(53.02% -0.0334 -0.1293)
OKLCHoklch(53.02% 0.134 255.5)
XYZxyz(15.1256, 14.7707, 46.8444)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CB7 #B77B30
analogous
#30B0B7 #306CB7 #3730B7
triadic
#306CB7 #B7306C #6CB730
tetradic
#306CB7 #B730B0 #B77B30 #30B737
square
#306CB7 #B730B0 #B77B30 #30B737
split-complementary
#306CB7 #B73730 #B0B730
monochromatic
#173356 #234F87 #306CB7 #528BD2 #83ACDE

Accessibility & contrast

On white

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

On black

3.95
#306CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##306CB7#FFFFFF#000000##FFFFFF
##306CB71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3266B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306cb7;
/* rgb */ color: rgb(48, 108, 183);
/* oklch */ color: oklch(53.0% 0.134 255.5);
Tailwind
colors: {
  custom: {
    50: '#7a95cd',
    500: '#306cb7',
    950: '#000000',
  },
}
SCSS
$custom: #306cb7;
$custom-light: #7a95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#306cb7",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 213.333,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.13351,
    "h": 255.5
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#306CB7
secondary
#C8A67B
accent
#9D46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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