#2F6D8A#2F6D8A

#2F6D8A is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 50.7% C 0.078 H 231.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F6D8A
RGBrgb(47, 109, 138)
HSLhsl(199, 49%, 36%)
HSVhsv(199, 66%, 54%)
CMYKcmyk(65.9%, 21%, 0%, 45.9%)
CIE-LABlab(43.32, -10.38, -21.85)
CIE-LCHlch(43.32, 24.19, 244.58°)
OKLaboklab(50.7% -0.0487 -0.0611)
OKLCHoklch(50.7% 0.078 231.4)
XYZxyz(11.2266, 13.3754, 26.0299)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6D8A #8A4C2F
analogous
#2F8A7A #2F6D8A #2F408A
triadic
#2F6D8A #8A2F6D #6D8A2F
tetradic
#2F6D8A #7A2F8A #8A4C2F #408A2F
square
#2F6D8A #7A2F8A #8A4C2F #408A2F
split-complementary
#2F6D8A #8A2F40 #8A7A2F
monochromatic
#10252F #1F495C #2F6D8A #3F91B8 #68ACCC

Accessibility & contrast

On white

5.71
#2F6D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2F6D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6D8A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6D8A#FFFFFF#000000##FFFFFF
##2F6D8A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8B
Deuteranopia (green-blind)
#52628A
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f6d8a;
/* rgb */ color: rgb(47, 109, 138);
/* oklch */ color: oklch(50.7% 0.078 231.4);
Tailwind
colors: {
  custom: {
    50: '#7296ac',
    500: '#2f6d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f6d8a;
$custom-light: #7296ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6d8a",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 199.121,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.0782,
    "h": 231.4
  },
  "luminance": 0.13377
}

Semantic roles & 50–950 ramp

primary
#2F6D8A
secondary
#B37C62
accent
#7B4FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2F6D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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