#2F7CA9#2F7CA9

#2F7CA9 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.102 H 238.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2F7CA9
RGBrgb(47, 124, 169)
HSLhsl(202, 56%, 42%)
HSVhsv(202, 72%, 66%)
CMYKcmyk(72.2%, 26.6%, 0%, 33.7%)
CIE-LABlab(49.35, -8.30, -30.75)
CIE-LCHlch(49.35, 31.85, 254.90°)
OKLaboklab(55.95% -0.0535 -0.0867)
OKLCHoklch(55.95% 0.102 238.3)
XYZxyz(15.5386, 17.8825, 40.1612)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CA9 #A95C2F
analogous
#2FA999 #2F7CA9 #2F3FA9
triadic
#2F7CA9 #A92F7C #7CA92F
tetradic
#2F7CA9 #992FA9 #A95C2F #3FA92F
square
#2F7CA9 #992FA9 #A95C2F #3FA92F
split-complementary
#2F7CA9 #A92F3F #A9992F
monochromatic
#143649 #225979 #2F7CA9 #499CCC #79B6DA

Accessibility & contrast

On white

4.59
#2F7CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2F7CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7CA9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CA9#FFFFFF#000000##FFFFFF
##2F7CA91.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677CAB
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ca9;
/* rgb */ color: rgb(47, 124, 169);
/* oklch */ color: oklch(55.9% 0.102 238.3);
Tailwind
colors: {
  custom: {
    50: '#77a1c2',
    500: '#2f7ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ca9;
$custom-light: #77a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ca9",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 169
  },
  "hsl": {
    "h": 202.131,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.1019,
    "h": 238.3
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#2F7CA9
secondary
#C28F72
accent
#8048E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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