#2F6788#2F6788

#2F6788 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.1% C 0.079 H 237.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2F6788
RGBrgb(47, 103, 136)
HSLhsl(202, 49%, 36%)
HSVhsv(202, 65%, 53%)
CMYKcmyk(65.4%, 24.3%, 0%, 46.7%)
CIE-LABlab(41.35, -7.53, -23.71)
CIE-LCHlch(41.35, 24.88, 252.37°)
OKLaboklab(49.1% -0.0427 -0.0665)
OKLCHoklch(49.1% 0.079 237.3)
XYZxyz(10.4648, 12.0814, 25.0682)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6788 #88502F
analogous
#2F887C #2F6788 #2F3A88
triadic
#2F6788 #882F67 #67882F
tetradic
#2F6788 #7C2F88 #88502F #3A882F
square
#2F6788 #7C2F88 #88502F #3A882F
split-complementary
#2F6788 #882F3A #887C2F
monochromatic
#10222D #1F455B #2F6788 #3F89B5 #67A6CA

Accessibility & contrast

On white

6.15
#2F6788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2F6788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6788
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6788#FFFFFF#000000##FFFFFF
##2F67881.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58678A
Deuteranopia (green-blind)
#4B5E87
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6788;
/* rgb */ color: rgb(47, 103, 136);
/* oklch */ color: oklch(49.1% 0.079 237.3);
Tailwind
colors: {
  custom: {
    50: '#7192aa',
    500: '#2f6788',
    950: '#000000',
  },
}
SCSS
$custom: #2f6788;
$custom-light: #7192aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6788",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 202.247,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.07906,
    "h": 237.3
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#2F6788
secondary
#B17F61
accent
#8250D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2F6788

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

Preview Lab → · Contrast checker → · Palette generator →

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