#2F7286#2F7286

#2F7286 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 51.8% C 0.074 H 220.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F7286
RGBrgb(47, 114, 134)
HSLhsl(194, 48%, 35%)
HSVhsv(194, 65%, 53%)
CMYKcmyk(64.9%, 14.9%, 0%, 47.5%)
CIE-LABlab(44.74, -14.59, -17.27)
CIE-LCHlch(44.74, 22.61, 229.81°)
OKLaboklab(51.78% -0.056 -0.0481)
OKLCHoklch(51.78% 0.074 220.7)
XYZxyz(11.4909, 14.3590, 24.7156)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7286 #86432F
analogous
#2F866E #2F7286 #2F4686
triadic
#2F7286 #862F72 #72862F
tetradic
#2F7286 #6E2F86 #86432F #46862F
square
#2F7286 #6E2F86 #86432F #46862F
split-complementary
#2F7286 #862F46 #866E2F
monochromatic
#0F252B #1F4B59 #2F7286 #3F99B3 #66B3C9

Accessibility & contrast

On white

5.42
#2F7286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F7286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7286
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7286#FFFFFF#000000##FFFFFF
##2F72861.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F87
Deuteranopia (green-blind)
#596686
Tritanopia (blue-blind)
#007978
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7286;
/* rgb */ color: rgb(47, 114, 134);
/* oklch */ color: oklch(51.8% 0.074 220.7);
Tailwind
colors: {
  custom: {
    50: '#729aa9',
    500: '#2f7286',
    950: '#000000',
  },
}
SCSS
$custom: #2f7286;
$custom-light: #729aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7286",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 134
  },
  "hsl": {
    "h": 193.793,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.07381,
    "h": 220.7
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#2F7286
secondary
#B07360
accent
#6F50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7286

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

Preview Lab → · Contrast checker → · Palette generator →

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