#2F7AAF#2F7AAF

#2F7AAF is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.8% C 0.110 H 243.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7AAF
RGBrgb(47, 122, 175)
HSLhsl(205, 58%, 44%)
HSVhsv(205, 73%, 69%)
CMYKcmyk(73.1%, 30.3%, 0%, 31.4%)
CIE-LABlab(49.03, -4.98, -34.75)
CIE-LCHlch(49.03, 35.10, 261.84°)
OKLaboklab(55.78% -0.0496 -0.0983)
OKLCHoklch(55.78% 0.11 243.2)
XYZxyz(15.8667, 17.6168, 43.1133)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AAF #AF642F
analogous
#2FAFA4 #2F7AAF #2F3AAF
triadic
#2F7AAF #AF2F7A #7AAF2F
tetradic
#2F7AAF #A42FAF #AF642F #3AAF2F
square
#2F7AAF #A42FAF #AF642F #3AAF2F
split-complementary
#2F7AAF #AF2F3A #AFA42F
monochromatic
#15374F #22587F #2F7AAF #4C99CF #7CB4DC

Accessibility & contrast

On white

4.64
#2F7AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2F7AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AAF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AAF#FFFFFF#000000##FFFFFF
##2F7AAF1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627BB1
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7aaf;
/* rgb */ color: rgb(47, 122, 175);
/* oklch */ color: oklch(55.8% 0.110 243.2);
Tailwind
colors: {
  custom: {
    50: '#78a0c7',
    500: '#2f7aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2f7aaf;
$custom-light: #78a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7aaf",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 204.844,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.1101,
    "h": 243.2
  },
  "luminance": 0.17619
}

Semantic roles & 50–950 ramp

primary
#2F7AAF
secondary
#C49675
accent
#8747E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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