#2F7CBA#2F7CBA

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

Color values

HEX#2F7CBA
RGBrgb(47, 124, 186)
HSLhsl(207, 60%, 46%)
HSVhsv(207, 75%, 73%)
CMYKcmyk(74.7%, 33.3%, 0%, 27.1%)
CIE-LABlab(50.17, -2.19, -39.30)
CIE-LCHlch(50.17, 39.36, 266.81°)
OKLaboklab(56.86% -0.0482 -0.1116)
OKLCHoklch(56.86% 0.122 246.6)
XYZxyz(17.2395, 18.5628, 49.1193)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CBA #BA6D2F
analogous
#2FBAB3 #2F7CBA #2F36BA
triadic
#2F7CBA #BA2F7C #7CBA2F
tetradic
#2F7CBA #B32FBA #BA6D2F #36BA2F
square
#2F7CBA #B32FBA #BA6D2F #36BA2F
split-complementary
#2F7CBA #BA2F36 #BAB32F
monochromatic
#163B58 #235B89 #2F7CBA #539AD3 #84B7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7CBA#FFFFFF#000000##000000
##2F7CBA1.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)
#607FBD
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7cba;
/* rgb */ color: rgb(47, 124, 186);
/* oklch */ color: oklch(56.9% 0.122 246.6);
Tailwind
colors: {
  custom: {
    50: '#7aa1cf',
    500: '#2f7cba',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cba;
$custom-light: #7aa1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cba",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 186
  },
  "hsl": {
    "h": 206.763,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.12152,
    "h": 246.6
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#2F7CBA
secondary
#C99E7C
accent
#8B45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F7CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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