#306FB9#306FB9

#306FB9 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.133 H 254.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#306FB9
RGBrgb(48, 111, 185)
HSLhsl(212, 59%, 46%)
HSVhsv(212, 74%, 73%)
CMYKcmyk(74.1%, 40%, 0%, 27.5%)
CIE-LABlab(46.31, 5.52, -44.84)
CIE-LCHlch(46.31, 45.18, 277.01°)
OKLaboklab(53.83% -0.0357 -0.128)
OKLCHoklch(53.83% 0.133 254.4)
XYZxyz(15.6571, 15.4983, 48.0558)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FB9 #B97A30
analogous
#30B3B9 #306FB9 #3630B9
triadic
#306FB9 #B9306F #6FB930
tetradic
#306FB9 #B930B3 #B97A30 #30B936
square
#306FB9 #B930B3 #B97A30 #30B936
split-complementary
#306FB9 #B93630 #B3B930
monochromatic
#173558 #235288 #306FB9 #548ED3 #84AEDF

Accessibility & contrast

On white

5.12
#306FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#306FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FB9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FB9#FFFFFF#000000##FFFFFF
##306FB91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BC
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306fb9;
/* rgb */ color: rgb(48, 111, 185);
/* oklch */ color: oklch(53.8% 0.133 254.4);
Tailwind
colors: {
  custom: {
    50: '#7a97ce',
    500: '#306fb9',
    950: '#000000',
  },
}
SCSS
$custom: #306fb9;
$custom-light: #7a97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#306fb9",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 185
  },
  "hsl": {
    "h": 212.409,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.13287,
    "h": 254.4
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#306FB9
secondary
#C9A57C
accent
#9A46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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