#2F7EC0#2F7EC0

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

Color values

HEX#2F7EC0
RGBrgb(47, 126, 192)
HSLhsl(207, 61%, 47%)
HSVhsv(207, 76%, 75%)
CMYKcmyk(75.5%, 34.4%, 0%, 24.7%)
CIE-LABlab(51.07, -1.20, -41.32)
CIE-LCHlch(51.07, 41.34, 268.33°)
OKLaboklab(57.67% -0.0483 -0.1174)
OKLCHoklch(57.67% 0.127 247.6)
XYZxyz(18.1439, 19.3297, 52.6337)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EC0 #C0712F
analogous
#2FC0B9 #2F7EC0 #2F36C0
triadic
#2F7EC0 #C02F7E #7EC02F
tetradic
#2F7EC0 #B92FC0 #C0712F #36C02F
square
#2F7EC0 #B92FC0 #C0712F #36C02F
split-complementary
#2F7EC0 #C02F36 #C0B92F
monochromatic
#173D5E #235E8F #2F7EC0 #569CD6 #88B9E2

Accessibility & contrast

On white

4.32
#2F7EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2F7EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EC0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EC0#FFFFFF#000000##000000
##2F7EC01.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C3
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f7ec0;
/* rgb */ color: rgb(47, 126, 192);
/* oklch */ color: oklch(57.7% 0.127 247.6);
Tailwind
colors: {
  custom: {
    50: '#7ba3d3',
    500: '#2f7ec0',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ec0;
$custom-light: #7ba3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ec0",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 207.31,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.127,
    "h": 247.6
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

primary
#2F7EC0
secondary
#CBA27F
accent
#8D44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2F7EC0

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

Preview Lab → · Contrast checker → · Palette generator →

#2F7EC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva