#306FB5#306FB5

#306FB5 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.128 H 253.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#306FB5
RGBrgb(48, 111, 181)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(73.5%, 38.7%, 0%, 29%)
CIE-LABlab(46.09, 4.03, -42.88)
CIE-LCHlch(46.09, 43.07, 275.37°)
OKLaboklab(53.58% -0.0367 -0.1222)
OKLCHoklch(53.58% 0.128 253.3)
XYZxyz(15.2408, 15.3318, 45.8632)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FB5 #B57630
analogous
#30B2B5 #306FB5 #3330B5
triadic
#306FB5 #B5306F #6FB530
tetradic
#306FB5 #B530B2 #B57630 #30B533
square
#306FB5 #B530B2 #B57630 #30B533
split-complementary
#306FB5 #B53330 #B2B530
monochromatic
#163454 #235185 #306FB5 #518ED1 #82ADDE

Accessibility & contrast

On white

5.16
#306FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#306FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FB5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FB5#FFFFFF#000000##FFFFFF
##306FB51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306fb5;
/* rgb */ color: rgb(48, 111, 181);
/* oklch */ color: oklch(53.6% 0.128 253.3);
Tailwind
colors: {
  custom: {
    50: '#7a97cb',
    500: '#306fb5',
    950: '#000000',
  },
}
SCSS
$custom: #306fb5;
$custom-light: #7a97cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306fb5",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 181
  },
  "hsl": {
    "h": 211.579,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.12759,
    "h": 253.3
  },
  "luminance": 0.15333
}

Semantic roles & 50–950 ramp

primary
#306FB5
secondary
#C7A27A
accent
#9846E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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