#2F6786#2F6786

#2F6786 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.0% C 0.077 H 235.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6786
RGBrgb(47, 103, 134)
HSLhsl(201, 48%, 35%)
HSVhsv(201, 65%, 53%)
CMYKcmyk(64.9%, 23.1%, 0%, 47.5%)
CIE-LABlab(41.26, -8.23, -22.64)
CIE-LCHlch(41.26, 24.09, 250.03°)
OKLaboklab(49% -0.0435 -0.0635)
OKLCHoklch(49% 0.077 235.6)
XYZxyz(10.3240, 12.0250, 24.3266)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6786 #864E2F
analogous
#2F8679 #2F6786 #2F3C86
triadic
#2F6786 #862F67 #67862F
tetradic
#2F6786 #792F86 #864E2F #3C862F
square
#2F6786 #792F86 #864E2F #3C862F
split-complementary
#2F6786 #862F3C #86792F
monochromatic
#0F212B #1F4459 #2F6786 #3F8AB3 #66A6C9

Accessibility & contrast

On white

6.17
#2F6786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2F6786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6786
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6786#FFFFFF#000000##FFFFFF
##2F67861.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586687
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6786;
/* rgb */ color: rgb(47, 103, 134);
/* oklch */ color: oklch(49.0% 0.077 235.6);
Tailwind
colors: {
  custom: {
    50: '#7192a9',
    500: '#2f6786',
    950: '#000000',
  },
}
SCSS
$custom: #2f6786;
$custom-light: #7192a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6786",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 201.379,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.07692,
    "h": 235.6
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#2F6786
secondary
#B07D60
accent
#8050D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2F6786

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

Preview Lab → · Contrast checker → · Palette generator →

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