#2F7CA6#2F7CA6

#2F7CA6 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.099 H 236.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7CA6
RGBrgb(47, 124, 166)
HSLhsl(201, 56%, 42%)
HSVhsv(201, 72%, 65%)
CMYKcmyk(71.7%, 25.3%, 0%, 34.9%)
CIE-LABlab(49.22, -9.35, -29.22)
CIE-LCHlch(49.22, 30.68, 252.25°)
OKLaboklab(55.79% -0.0546 -0.0823)
OKLCHoklch(55.79% 0.099 236.4)
XYZxyz(15.2602, 17.7711, 38.6949)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CA6 #A6592F
analogous
#2FA695 #2F7CA6 #2F41A6
triadic
#2F7CA6 #A62F7C #7CA62F
tetradic
#2F7CA6 #952FA6 #A6592F #41A62F
square
#2F7CA6 #952FA6 #A6592F #41A62F
split-complementary
#2F7CA6 #A62F41 #A6952F
monochromatic
#143547 #215876 #2F7CA6 #479CCB #77B6D8

Accessibility & contrast

On white

4.61
#2F7CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F7CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7CA6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CA6#FFFFFF#000000##FFFFFF
##2F7CA61.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687BA8
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ca6;
/* rgb */ color: rgb(47, 124, 166);
/* oklch */ color: oklch(55.8% 0.099 236.4);
Tailwind
colors: {
  custom: {
    50: '#77a1c0',
    500: '#2f7ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ca6;
$custom-light: #77a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ca6",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 166
  },
  "hsl": {
    "h": 201.176,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.09873,
    "h": 236.4
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#2F7CA6
secondary
#C18D70
accent
#7E49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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