#306EBC#306EBC

#306EBC is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.8% C 0.138 H 255.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#306EBC
RGBrgb(48, 110, 188)
HSLhsl(213, 59%, 46%)
HSVhsv(213, 74%, 74%)
CMYKcmyk(74.5%, 41.5%, 0%, 26.3%)
CIE-LABlab(46.19, 7.26, -46.77)
CIE-LCHlch(46.19, 47.33, 278.82°)
OKLaboklab(53.79% -0.0341 -0.1337)
OKLCHoklch(53.79% 0.138 255.7)
XYZxyz(15.8686, 15.4093, 49.7052)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EBC #BC7E30
analogous
#30B4BC #306EBC #3830BC
triadic
#306EBC #BC306E #6EBC30
tetradic
#306EBC #BC30B4 #BC7E30 #30BC38
square
#306EBC #BC30B4 #BC7E30 #30BC38
split-complementary
#306EBC #BC3830 #B4BC30
monochromatic
#17355A #24518B #306EBC #558DD4 #86AEE0

Accessibility & contrast

On white

5.14
#306EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#306EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EBC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EBC#FFFFFF#000000##FFFFFF
##306EBC1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306ebc;
/* rgb */ color: rgb(48, 110, 188);
/* oklch */ color: oklch(53.8% 0.138 255.7);
Tailwind
colors: {
  custom: {
    50: '#7b97d0',
    500: '#306ebc',
    950: '#000000',
  },
}
SCSS
$custom: #306ebc;
$custom-light: #7b97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#306ebc",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 188
  },
  "hsl": {
    "h": 213.429,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.13794,
    "h": 255.7
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#306EBC
secondary
#CAA87E
accent
#9D45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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