#2F6E8B#2F6E8B

#2F6E8B is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.0% C 0.079 H 231.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F6E8B
RGBrgb(47, 110, 139)
HSLhsl(199, 49%, 36%)
HSVhsv(199, 66%, 55%)
CMYKcmyk(66.2%, 20.9%, 0%, 45.5%)
CIE-LABlab(43.68, -10.62, -21.89)
CIE-LCHlch(43.68, 24.33, 244.12°)
OKLaboklab(51% -0.0495 -0.0613)
OKLCHoklch(51% 0.079 231.1)
XYZxyz(11.4066, 13.6191, 26.4487)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6E8B #8B4C2F
analogous
#2F8B7A #2F6E8B #2F408B
triadic
#2F6E8B #8B2F6E #6E8B2F
tetradic
#2F6E8B #7A2F8B #8B4C2F #408B2F
square
#2F6E8B #7A2F8B #8B4C2F #408B2F
split-complementary
#2F6E8B #8B2F40 #8B7A2F
monochromatic
#102630 #204A5D #2F6E8B #3E92B9 #68ADCC

Accessibility & contrast

On white

5.64
#2F6E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2F6E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6E8B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6E8B#FFFFFF#000000##FFFFFF
##2F6E8B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8C
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f6e8b;
/* rgb */ color: rgb(47, 110, 139);
/* oklch */ color: oklch(51.0% 0.079 231.1);
Tailwind
colors: {
  custom: {
    50: '#7297ad',
    500: '#2f6e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2f6e8b;
$custom-light: #7297ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6e8b",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 139
  },
  "hsl": {
    "h": 198.913,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.07876,
    "h": 231.1
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#2F6E8B
secondary
#B37C63
accent
#7A4FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #2F6E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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