#306BB1#306BB1

#306BB1 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.127 H 254.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#306BB1
RGBrgb(48, 107, 177)
HSLhsl(213, 57%, 44%)
HSVhsv(213, 73%, 69%)
CMYKcmyk(72.9%, 39.5%, 0%, 30.6%)
CIE-LABlab(44.68, 5.04, -42.78)
CIE-LCHlch(44.68, 43.07, 276.72°)
OKLaboklab(52.41% -0.0339 -0.122)
OKLCHoklch(52.41% 0.127 254.5)
XYZxyz(14.4095, 14.3165, 43.5904)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BB1 #B17630
analogous
#30ACB1 #306BB1 #3630B1
triadic
#306BB1 #B1306B #6BB130
tetradic
#306BB1 #B130AC #B17630 #30B136
square
#306BB1 #B130AC #B17630 #30B136
split-complementary
#306BB1 #B13630 #ACB130
monochromatic
#163151 #234E81 #306BB1 #4F8ACF #7FAADC

Accessibility & contrast

On white

5.44
#306BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#306BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BB1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BB1#FFFFFF#000000##FFFFFF
##306BB11.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306bb1;
/* rgb */ color: rgb(48, 107, 177);
/* oklch */ color: oklch(52.4% 0.127 254.5);
Tailwind
colors: {
  custom: {
    50: '#7994c9',
    500: '#306bb1',
    950: '#000000',
  },
}
SCSS
$custom: #306bb1;
$custom-light: #7994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306bb1",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 212.558,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.12659,
    "h": 254.5
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#306BB1
secondary
#C5A278
accent
#9A47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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