#2F7CA4#2F7CA4

#2F7CA4 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.7% C 0.097 H 235.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F7CA4
RGBrgb(47, 124, 164)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 64%)
CMYKcmyk(71.3%, 24.4%, 0%, 35.7%)
CIE-LABlab(49.13, -10.06, -28.20)
CIE-LCHlch(49.13, 29.93, 250.37°)
OKLaboklab(55.69% -0.0553 -0.0793)
OKLCHoklch(55.69% 0.097 235.1)
XYZxyz(15.0781, 17.6983, 37.7362)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CA4 #A4572F
analogous
#2FA492 #2F7CA4 #2F42A4
triadic
#2F7CA4 #A42F7C #7CA42F
tetradic
#2F7CA4 #922FA4 #A4572F #42A42F
square
#2F7CA4 #922FA4 #A4572F #42A42F
split-complementary
#2F7CA4 #A42F42 #A4922F
monochromatic
#143445 #215874 #2F7CA4 #469DCA #76B6D8

Accessibility & contrast

On white

4.63
#2F7CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2F7CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7CA4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CA4#FFFFFF#000000##FFFFFF
##2F7CA41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697BA6
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ca4;
/* rgb */ color: rgb(47, 124, 164);
/* oklch */ color: oklch(55.7% 0.097 235.1);
Tailwind
colors: {
  custom: {
    50: '#77a1bf',
    500: '#2f7ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ca4;
$custom-light: #77a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ca4",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 164
  },
  "hsl": {
    "h": 200.513,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.09668,
    "h": 235.1
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#2F7CA4
secondary
#C08B6F
accent
#7C49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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