#306EB2#306EB2

#306EB2 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.125 H 253.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#306EB2
RGBrgb(48, 110, 178)
HSLhsl(211, 58%, 44%)
HSVhsv(211, 73%, 70%)
CMYKcmyk(73%, 38.2%, 0%, 30.2%)
CIE-LABlab(45.62, 3.54, -41.86)
CIE-LCHlch(45.62, 42.01, 274.83°)
OKLaboklab(53.17% -0.0365 -0.1193)
OKLCHoklch(53.17% 0.125 253)
XYZxyz(14.8277, 14.9929, 44.2233)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EB2 #B27430
analogous
#30AFB2 #306EB2 #3330B2
triadic
#306EB2 #B2306E #6EB230
tetradic
#306EB2 #B230AF #B27430 #30B233
square
#306EB2 #B230AF #B27430 #30B233
split-complementary
#306EB2 #B23330 #AFB230
monochromatic
#163252 #235082 #306EB2 #508DD0 #80ACDD

Accessibility & contrast

On white

5.25
#306EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#306EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EB2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EB2#FFFFFF#000000##FFFFFF
##306EB21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#3B67B1
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306eb2;
/* rgb */ color: rgb(48, 110, 178);
/* oklch */ color: oklch(53.2% 0.125 253.0);
Tailwind
colors: {
  custom: {
    50: '#7997c9',
    500: '#306eb2',
    950: '#000000',
  },
}
SCSS
$custom: #306eb2;
$custom-light: #7997c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306eb2",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 211.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.12471,
    "h": 253
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#306EB2
secondary
#C6A178
accent
#9747E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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