#2F7EA9#2F7EA9

#2F7EA9 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.101 H 236.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F7EA9
RGBrgb(47, 126, 169)
HSLhsl(201, 56%, 42%)
HSVhsv(201, 72%, 66%)
CMYKcmyk(72.2%, 25.4%, 0%, 33.7%)
CIE-LABlab(49.96, -9.45, -29.80)
CIE-LCHlch(49.96, 31.26, 252.40°)
OKLaboklab(56.43% -0.0556 -0.0839)
OKLCHoklch(56.43% 0.101 236.5)
XYZxyz(15.7918, 18.3888, 40.2456)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA9 #A95A2F
analogous
#2FA997 #2F7EA9 #2F41A9
triadic
#2F7EA9 #A92F7E #7EA92F
tetradic
#2F7EA9 #972FA9 #A95A2F #41A92F
square
#2F7EA9 #972FA9 #A95A2F #41A92F
split-complementary
#2F7EA9 #A92F41 #A9972F
monochromatic
#143749 #225A79 #2F7EA9 #499ECC #79B7DA

Accessibility & contrast

On white

4.49
#2F7EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2F7EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EA9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EA9#FFFFFF#000000##000000
##2F7EA91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DAB
Deuteranopia (green-blind)
#5972A8
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7ea9;
/* rgb */ color: rgb(47, 126, 169);
/* oklch */ color: oklch(56.4% 0.101 236.5);
Tailwind
colors: {
  custom: {
    50: '#77a3c2',
    500: '#2f7ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea9;
$custom-light: #77a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea9",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 169
  },
  "hsl": {
    "h": 201.148,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.10066,
    "h": 236.5
  },
  "luminance": 0.18391
}

Semantic roles & 50–950 ramp

primary
#2F7EA9
secondary
#C28E72
accent
#7E48E0
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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