#336EBF#336EBF

#336EBF is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.1% C 0.141 H 257.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#336EBF
RGBrgb(51, 110, 191)
HSLhsl(215, 58%, 47%)
HSVhsv(215, 73%, 75%)
CMYKcmyk(73.3%, 42.4%, 0%, 25.1%)
CIE-LABlab(46.47, 8.78, -48.06)
CIE-LCHlch(46.47, 48.86, 280.35°)
OKLaboklab(54.09% -0.0315 -0.1374)
OKLCHoklch(54.09% 0.141 257.1)
XYZxyz(16.3417, 15.6154, 51.4329)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EBF #BF8433
analogous
#33B4BF #336EBF #3E33BF
triadic
#336EBF #BF336E #6EBF33
tetradic
#336EBF #BF33B4 #BF8433 #33BF3E
square
#336EBF #BF33B4 #BF8433 #33BF3E
split-complementary
#336EBF #BF3E33 #B4BF33
monochromatic
#19365E #26528F #336EBF #5C8ED3 #8CB0E0

Accessibility & contrast

On white

5.09
#336EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#336EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EBF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EBF#FFFFFF#000000##FFFFFF
##336EBF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#2E68BD
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #336ebf;
/* rgb */ color: rgb(51, 110, 191);
/* oklch */ color: oklch(54.1% 0.141 257.1);
Tailwind
colors: {
  custom: {
    50: '#7d97d3',
    500: '#336ebf',
    950: '#000000',
  },
}
SCSS
$custom: #336ebf;
$custom-light: #7d97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#336ebf",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 214.714,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.14096,
    "h": 257.1
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#336EBF
secondary
#CBAD83
accent
#A047E1
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #336EBF

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

Preview Lab → · Contrast checker → · Palette generator →

#336EBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva