#2F7E9B#2F7E9B

#2F7E9B is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.8% C 0.088 H 226.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2F7E9B
RGBrgb(47, 126, 155)
HSLhsl(196, 53%, 40%)
HSVhsv(196, 70%, 61%)
CMYKcmyk(69.7%, 18.7%, 0%, 39.2%)
CIE-LABlab(49.36, -14.29, -22.58)
CIE-LCHlch(49.36, 26.72, 237.68°)
OKLaboklab(55.76% -0.0607 -0.0632)
OKLCHoklch(55.76% 0.088 226.1)
XYZxyz(14.5472, 17.8910, 33.6906)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E9B #9B4C2F
analogous
#2F9B82 #2F7E9B #2F489B
triadic
#2F7E9B #9B2F7E #7E9B2F
tetradic
#2F7E9B #822F9B #9B4C2F #489B2F
square
#2F7E9B #822F9B #9B4C2F #489B2F
split-complementary
#2F7E9B #9B2F48 #9B822F
monochromatic
#13323D #21586C #2F7E9B #42A2C6 #71B9D4

Accessibility & contrast

On white

4.59
#2F7E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2F7E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E9B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E9B#FFFFFF#000000##FFFFFF
##2F7E9B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9C
Deuteranopia (green-blind)
#5F719B
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7e9b;
/* rgb */ color: rgb(47, 126, 155);
/* oklch */ color: oklch(55.8% 0.088 226.1);
Tailwind
colors: {
  custom: {
    50: '#75a3b8',
    500: '#2f7e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e9b;
$custom-light: #75a3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e9b",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 155
  },
  "hsl": {
    "h": 196.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.08763,
    "h": 226.1
  },
  "luminance": 0.17893
}

Semantic roles & 50–950 ramp

primary
#2F7E9B
secondary
#BB806A
accent
#724BDD
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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