#2F7BBF#2F7BBF

#2F7BBF is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 56.9% C 0.129 H 249.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7BBF
RGBrgb(47, 123, 191)
HSLhsl(208, 61%, 47%)
HSVhsv(208, 75%, 75%)
CMYKcmyk(75.4%, 35.6%, 0%, 25.1%)
CIE-LABlab(50.13, 0.23, -42.24)
CIE-LCHlch(50.13, 42.24, 270.32°)
OKLaboklab(56.92% -0.0458 -0.1201)
OKLCHoklch(56.92% 0.129 249.1)
XYZxyz(17.6556, 18.5298, 51.9262)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BBF #BF732F
analogous
#2FBFBB #2F7BBF #2F33BF
triadic
#2F7BBF #BF2F7B #7BBF2F
tetradic
#2F7BBF #BB2FBF #BF732F #33BF2F
square
#2F7BBF #BB2FBF #BF732F #33BF2F
split-complementary
#2F7BBF #BF2F33 #BFBB2F
monochromatic
#173C5D #235B8E #2F7BBF #5699D5 #87B7E1

Accessibility & contrast

On white

4.46
#2F7BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F7BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BBF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BBF#FFFFFF#000000##000000
##2F7BBF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#4771BE
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7bbf;
/* rgb */ color: rgb(47, 123, 191);
/* oklch */ color: oklch(56.9% 0.129 249.1);
Tailwind
colors: {
  custom: {
    50: '#7ba0d2',
    500: '#2f7bbf',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bbf;
$custom-light: #7ba0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bbf",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 208.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.1286,
    "h": 249.1
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#2F7BBF
secondary
#CBA37F
accent
#8F44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F7BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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