#2F6A8E#2F6A8E

#2F6A8E is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.1% C 0.084 H 238.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2F6A8E
RGBrgb(47, 106, 142)
HSLhsl(203, 50%, 37%)
HSVhsv(203, 67%, 56%)
CMYKcmyk(66.9%, 25.4%, 0%, 44.3%)
CIE-LABlab(42.56, -7.22, -25.43)
CIE-LCHlch(42.56, 26.43, 254.14°)
OKLaboklab(50.15% -0.0439 -0.0715)
OKLCHoklch(50.15% 0.084 238.4)
XYZxyz(11.2069, 12.8642, 27.4784)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A8E #8E532F
analogous
#2F8E83 #2F6A8E #2F3A8E
triadic
#2F6A8E #8E2F6A #6A8E2F
tetradic
#2F6A8E #832F8E #8E532F #3A8E2F
square
#2F6A8E #832F8E #8E532F #3A8E2F
split-complementary
#2F6A8E #8E2F3A #8E832F
monochromatic
#112532 #204860 #2F6A8E #3E8CBC #6AA8CE

Accessibility & contrast

On white

5.88
#2F6A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2F6A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A8E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A8E#FFFFFF#000000##FFFFFF
##2F6A8E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#4C608D
Tritanopia (blue-blind)
#007376
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f6a8e;
/* rgb */ color: rgb(47, 106, 142);
/* oklch */ color: oklch(50.1% 0.084 238.4);
Tailwind
colors: {
  custom: {
    50: '#7294af',
    500: '#2f6a8e',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a8e;
$custom-light: #7294af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a8e",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 142
  },
  "hsl": {
    "h": 202.737,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.08388,
    "h": 238.4
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#2F6A8E
secondary
#B58364
accent
#834EDA
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #2F6A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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