#277EC4#277EC4

#277EC4 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.7% C 0.134 H 247.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#277EC4
RGBrgb(39, 126, 196)
HSLhsl(207, 67%, 46%)
HSVhsv(207, 80%, 77%)
CMYKcmyk(80.1%, 35.7%, 0%, 23.1%)
CIE-LABlab(51.08, -0.64, -43.61)
CIE-LCHlch(51.08, 43.62, 269.16°)
OKLaboklab(57.69% -0.0513 -0.1242)
OKLCHoklch(57.69% 0.134 247.6)
XYZxyz(18.2575, 19.3363, 54.9839)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277EC4 #C46D27
analogous
#27C4BB #277EC4 #272FC4
triadic
#277EC4 #C4277E #7EC427
tetradic
#277EC4 #BB27C4 #C46D27 #2FC427
square
#277EC4 #BB27C4 #C46D27 #2FC427
split-complementary
#277EC4 #C4272F #C4BB27
monochromatic
#133C5E #1D5D91 #277EC4 #4D9CDC #80B8E6

Accessibility & contrast

On white

4.31
#277EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#277EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #277EC4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277EC4#FFFFFF#000000##000000
##277EC41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C7
Deuteranopia (green-blind)
#4673C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #277ec4;
/* rgb */ color: rgb(39, 126, 196);
/* oklch */ color: oklch(57.7% 0.134 247.6);
Tailwind
colors: {
  custom: {
    50: '#7aa3d6',
    500: '#277ec4',
    950: '#000000',
  },
}
SCSS
$custom: #277ec4;
$custom-light: #7aa3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#277ec4",
  "rgb": {
    "r": 39,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 206.752,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.13438,
    "h": 247.6
  },
  "luminance": 0.19339
}

Semantic roles & 50–950 ramp

primary
#277EC4
secondary
#CE9F79
accent
#8B3EEA
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #277EC4

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

Preview Lab → · Contrast checker → · Palette generator →

#277EC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva