#2F7AB9#2F7AB9

#2F7AB9 is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.122 H 247.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7AB9
RGBrgb(47, 122, 185)
HSLhsl(207, 59%, 45%)
HSVhsv(207, 75%, 73%)
CMYKcmyk(74.6%, 34.1%, 0%, 27.5%)
CIE-LABlab(49.53, -1.36, -39.74)
CIE-LCHlch(49.53, 39.77, 268.04°)
OKLaboklab(56.34% -0.0466 -0.1129)
OKLCHoklch(56.34% 0.122 247.6)
XYZxyz(16.8854, 18.0243, 48.4786)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AB9 #B96E2F
analogous
#2FB9B3 #2F7AB9 #2F35B9
triadic
#2F7AB9 #B92F7A #7AB92F
tetradic
#2F7AB9 #B32FB9 #B96E2F #35B92F
square
#2F7AB9 #B32FB9 #B96E2F #35B92F
split-complementary
#2F7AB9 #B92F35 #B9B32F
monochromatic
#163A57 #235A88 #2F7AB9 #5298D3 #83B5DF

Accessibility & contrast

On white

4.56
#2F7AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2F7AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7AB9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AB9#FFFFFF#000000##000000
##2F7AB91.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7ab9;
/* rgb */ color: rgb(47, 122, 185);
/* oklch */ color: oklch(56.3% 0.122 247.6);
Tailwind
colors: {
  custom: {
    50: '#7aa0ce',
    500: '#2f7ab9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ab9;
$custom-light: #7aa0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ab9",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 185
  },
  "hsl": {
    "h": 207.391,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.12212,
    "h": 247.6
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#2F7AB9
secondary
#C99F7B
accent
#8D45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #2F7AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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