#2F7CBC#2F7CBC

#2F7CBC is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.0% C 0.124 H 247.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7CBC
RGBrgb(47, 124, 188)
HSLhsl(207, 60%, 46%)
HSVhsv(207, 75%, 74%)
CMYKcmyk(75%, 34%, 0%, 26.3%)
CIE-LABlab(50.27, -1.46, -40.29)
CIE-LCHlch(50.27, 40.32, 267.92°)
OKLaboklab(56.98% -0.0476 -0.1144)
OKLCHoklch(56.98% 0.124 247.4)
XYZxyz(17.4536, 18.6485, 50.2469)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CBC #BC6F2F
analogous
#2FBCB5 #2F7CBC #2F35BC
triadic
#2F7CBC #BC2F7C #7CBC2F
tetradic
#2F7CBC #B52FBC #BC6F2F #35BC2F
square
#2F7CBC #B52FBC #BC6F2F #35BC2F
split-complementary
#2F7CBC #BC2F35 #BCB52F
monochromatic
#173B5A #235C8B #2F7CBC #549AD4 #85B7E0

Accessibility & contrast

On white

4.44
#2F7CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F7CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CBC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CBC#FFFFFF#000000##000000
##2F7CBC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7cbc;
/* rgb */ color: rgb(47, 124, 188);
/* oklch */ color: oklch(57.0% 0.124 247.4);
Tailwind
colors: {
  custom: {
    50: '#7ba1d0',
    500: '#2f7cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cbc;
$custom-light: #7ba1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cbc",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 188
  },
  "hsl": {
    "h": 207.234,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.12396,
    "h": 247.4
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#2F7CBC
secondary
#CAA07D
accent
#8D45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F7CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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