#306FB1#306FB1

#306FB1 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.122 H 252.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#306FB1
RGBrgb(48, 111, 177)
HSLhsl(211, 57%, 44%)
HSVhsv(211, 73%, 69%)
CMYKcmyk(72.9%, 37.3%, 0%, 30.6%)
CIE-LABlab(45.87, 2.55, -40.90)
CIE-LCHlch(45.87, 40.98, 273.57°)
OKLaboklab(53.34% -0.0377 -0.1164)
OKLCHoklch(53.34% 0.122 252.1)
XYZxyz(14.8362, 15.1699, 43.7326)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FB1 #B17230
analogous
#30B0B1 #306FB1 #3230B1
triadic
#306FB1 #B1306F #6FB130
tetradic
#306FB1 #B130B0 #B17230 #30B132
square
#306FB1 #B130B0 #B17230 #30B132
split-complementary
#306FB1 #B13230 #B0B130
monochromatic
#163351 #235181 #306FB1 #4F8ECF #7FADDC

Accessibility & contrast

On white

5.21
#306FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#306FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FB1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FB1#FFFFFF#000000##FFFFFF
##306FB11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5173B4
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306fb1;
/* rgb */ color: rgb(48, 111, 177);
/* oklch */ color: oklch(53.3% 0.122 252.1);
Tailwind
colors: {
  custom: {
    50: '#7997c8',
    500: '#306fb1',
    950: '#000000',
  },
}
SCSS
$custom: #306fb1;
$custom-light: #7997c8;
$custom-dark: #000000;
JSON
{
  "hex": "#306fb1",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 177
  },
  "hsl": {
    "h": 210.698,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.12235,
    "h": 252.1
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#306FB1
secondary
#C59F78
accent
#9647E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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