#2F7DAA#2F7DAA

#2F7DAA is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.102 H 238.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F7DAA
RGBrgb(47, 125, 170)
HSLhsl(202, 57%, 43%)
HSVhsv(202, 72%, 67%)
CMYKcmyk(72.4%, 26.5%, 0%, 33.3%)
CIE-LABlab(49.70, -8.52, -30.79)
CIE-LCHlch(49.70, 31.95, 254.52°)
OKLaboklab(56.24% -0.0542 -0.0868)
OKLCHoklch(56.24% 0.102 238)
XYZxyz(15.7588, 18.1721, 40.6994)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DAA #AA5C2F
analogous
#2FAA99 #2F7DAA #2F40AA
triadic
#2F7DAA #AA2F7D #7DAA2F
tetradic
#2F7DAA #992FAA #AA5C2F #40AA2F
square
#2F7DAA #992FAA #AA5C2F #40AA2F
split-complementary
#2F7DAA #AA2F40 #AA992F
monochromatic
#14364A #225A7A #2F7DAA #499DCD #79B7DA

Accessibility & contrast

On white

4.53
#2F7DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2F7DAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DAA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DAA#FFFFFF#000000##000000
##2F7DAA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAC
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7daa;
/* rgb */ color: rgb(47, 125, 170);
/* oklch */ color: oklch(56.2% 0.102 238.0);
Tailwind
colors: {
  custom: {
    50: '#78a2c3',
    500: '#2f7daa',
    950: '#000000',
  },
}
SCSS
$custom: #2f7daa;
$custom-light: #78a2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7daa",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 170
  },
  "hsl": {
    "h": 201.951,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.10233,
    "h": 238
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

primary
#2F7DAA
secondary
#C29072
accent
#7F48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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