#2F7FBF#2F7FBF

#2F7FBF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.125 H 246.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F7FBF
RGBrgb(47, 127, 191)
HSLhsl(207, 61%, 47%)
HSVhsv(207, 75%, 75%)
CMYKcmyk(75.4%, 33.5%, 0%, 25.1%)
CIE-LABlab(51.32, -2.16, -40.36)
CIE-LCHlch(51.32, 40.42, 266.93°)
OKLaboklab(57.85% -0.0496 -0.1146)
OKLCHoklch(57.85% 0.125 246.6)
XYZxyz(18.1620, 19.5426, 52.0950)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FBF #BF6F2F
analogous
#2FBFB7 #2F7FBF #2F37BF
triadic
#2F7FBF #BF2F7F #7FBF2F
tetradic
#2F7FBF #B72FBF #BF6F2F #37BF2F
square
#2F7FBF #B72FBF #BF6F2F #37BF2F
split-complementary
#2F7FBF #BF2F37 #BFB72F
monochromatic
#173E5D #235E8E #2F7FBF #569DD5 #87B9E1

Accessibility & contrast

On white

4.28
#2F7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#2F7FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FBF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FBF#FFFFFF#000000##000000
##2F7FBF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f7fbf;
/* rgb */ color: rgb(47, 127, 191);
/* oklch */ color: oklch(57.8% 0.125 246.6);
Tailwind
colors: {
  custom: {
    50: '#7ba3d2',
    500: '#2f7fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fbf;
$custom-light: #7ba3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fbf",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 206.667,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.12488,
    "h": 246.6
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#2F7FBF
secondary
#CBA17F
accent
#8B44E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F7FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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