#306BB2#306BB2

#306BB2 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.128 H 254.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#306BB2
RGBrgb(48, 107, 178)
HSLhsl(213, 58%, 44%)
HSVhsv(213, 73%, 70%)
CMYKcmyk(73%, 39.9%, 0%, 30.2%)
CIE-LABlab(44.74, 5.41, -43.27)
CIE-LCHlch(44.74, 43.61, 277.13°)
OKLaboklab(52.48% -0.0336 -0.1234)
OKLCHoklch(52.48% 0.128 254.8)
XYZxyz(14.5095, 14.3565, 44.1172)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BB2 #B27730
analogous
#30ACB2 #306BB2 #3630B2
triadic
#306BB2 #B2306B #6BB230
tetradic
#306BB2 #B230AC #B27730 #30B236
square
#306BB2 #B230AC #B27730 #30B236
split-complementary
#306BB2 #B23630 #ACB230
monochromatic
#163152 #234E82 #306BB2 #508AD0 #80AADD

Accessibility & contrast

On white

5.42
#306BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#306BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BB2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BB2#FFFFFF#000000##FFFFFF
##306BB21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#3564B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306bb2;
/* rgb */ color: rgb(48, 107, 178);
/* oklch */ color: oklch(52.5% 0.128 254.8);
Tailwind
colors: {
  custom: {
    50: '#7994c9',
    500: '#306bb2',
    950: '#000000',
  },
}
SCSS
$custom: #306bb2;
$custom-light: #7994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306bb2",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 212.769,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.12793,
    "h": 254.8
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#306BB2
secondary
#C6A278
accent
#9B47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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