#2F7DA4#2F7DA4

#2F7DA4 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.096 H 234.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2F7DA4
RGBrgb(47, 125, 164)
HSLhsl(200, 55%, 41%)
HSVhsv(200, 71%, 64%)
CMYKcmyk(71.3%, 23.8%, 0%, 35.7%)
CIE-LABlab(49.44, -10.63, -27.72)
CIE-LCHlch(49.44, 29.68, 249.02°)
OKLaboklab(55.94% -0.0563 -0.0779)
OKLCHoklch(55.94% 0.096 234.1)
XYZxyz(15.2041, 17.9502, 37.7782)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DA4 #A4562F
analogous
#2FA491 #2F7DA4 #2F43A4
triadic
#2F7DA4 #A42F7D #7DA42F
tetradic
#2F7DA4 #912FA4 #A4562F #43A42F
square
#2F7DA4 #912FA4 #A4562F #43A42F
split-complementary
#2F7DA4 #A42F43 #A4912F
monochromatic
#143445 #215974 #2F7DA4 #469ECA #76B7D8

Accessibility & contrast

On white

4.57
#2F7DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2F7DA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DA4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DA4#FFFFFF#000000##000000
##2F7DA41.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7CA6
Deuteranopia (green-blind)
#5A70A3
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7da4;
/* rgb */ color: rgb(47, 125, 164);
/* oklch */ color: oklch(55.9% 0.096 234.1);
Tailwind
colors: {
  custom: {
    50: '#77a2bf',
    500: '#2f7da4',
    950: '#000000',
  },
}
SCSS
$custom: #2f7da4;
$custom-light: #77a2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7da4",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 164
  },
  "hsl": {
    "h": 200,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.09614,
    "h": 234.1
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#2F7DA4
secondary
#C08A6F
accent
#7B49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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