#2F7AA9#2F7AA9

#2F7AA9 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.5% C 0.103 H 240.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7AA9
RGBrgb(47, 122, 169)
HSLhsl(203, 56%, 42%)
HSVhsv(203, 72%, 66%)
CMYKcmyk(72.2%, 27.8%, 0%, 33.7%)
CIE-LABlab(48.74, -7.13, -31.71)
CIE-LCHlch(48.74, 32.50, 257.33°)
OKLaboklab(55.46% -0.0515 -0.0895)
OKLCHoklch(55.46% 0.103 240.1)
XYZxyz(15.2905, 17.3863, 40.0785)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AA9 #A95E2F
analogous
#2FA99B #2F7AA9 #2F3DA9
triadic
#2F7AA9 #A92F7A #7AA92F
tetradic
#2F7AA9 #9B2FA9 #A95E2F #3DA92F
square
#2F7AA9 #9B2FA9 #A95E2F #3DA92F
split-complementary
#2F7AA9 #A92F3D #A99B2F
monochromatic
#143549 #225779 #2F7AA9 #499ACC #79B4DA

Accessibility & contrast

On white

4.69
#2F7AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2F7AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AA9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AA9#FFFFFF#000000##FFFFFF
##2F7AA91.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AAB
Deuteranopia (green-blind)
#536FA8
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7aa9;
/* rgb */ color: rgb(47, 122, 169);
/* oklch */ color: oklch(55.5% 0.103 240.1);
Tailwind
colors: {
  custom: {
    50: '#77a0c2',
    500: '#2f7aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7aa9;
$custom-light: #77a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7aa9",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 169
  },
  "hsl": {
    "h": 203.115,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.10326,
    "h": 240.1
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#2F7AA9
secondary
#C29172
accent
#8248E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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