#306EB3#306EB3

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

Color values

HEX#306EB3
RGBrgb(48, 110, 179)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 70%)
CMYKcmyk(73.2%, 38.5%, 0%, 29.8%)
CIE-LABlab(45.68, 3.91, -42.36)
CIE-LCHlch(45.68, 42.54, 275.27°)
OKLaboklab(53.23% -0.0362 -0.1207)
OKLCHoklch(53.23% 0.126 253.3)
XYZxyz(14.9285, 15.0333, 44.7540)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EB3 #B37530
analogous
#30B0B3 #306EB3 #3430B3
triadic
#306EB3 #B3306E #6EB330
tetradic
#306EB3 #B330B0 #B37530 #30B334
square
#306EB3 #B330B0 #B37530 #30B334
split-complementary
#306EB3 #B33430 #B0B330
monochromatic
#163352 #235083 #306EB3 #508DD0 #80ACDD

Accessibility & contrast

On white

5.24
#306EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#306EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EB3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EB3#FFFFFF#000000##FFFFFF
##306EB31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306eb3;
/* rgb */ color: rgb(48, 110, 179);
/* oklch */ color: oklch(53.2% 0.126 253.3);
Tailwind
colors: {
  custom: {
    50: '#7997ca',
    500: '#306eb3',
    950: '#000000',
  },
}
SCSS
$custom: #306eb3;
$custom-light: #7997ca;
$custom-dark: #000000;
JSON
{
  "hex": "#306eb3",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 179
  },
  "hsl": {
    "h": 211.603,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.12602,
    "h": 253.3
  },
  "luminance": 0.15035
}

Semantic roles & 50–950 ramp

primary
#306EB3
secondary
#C6A179
accent
#9847E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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