#2F7586#2F7586

#2F7586 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.5% C 0.074 H 216.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2F7586
RGBrgb(47, 117, 134)
HSLhsl(192, 48%, 35%)
HSVhsv(192, 65%, 53%)
CMYKcmyk(64.9%, 12.7%, 0%, 47.5%)
CIE-LABlab(45.70, -16.26, -15.81)
CIE-LCHlch(45.70, 22.68, 224.20°)
OKLaboklab(52.54% -0.0594 -0.044)
OKLCHoklch(52.54% 0.074 216.5)
XYZxyz(11.8349, 15.0469, 24.8303)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7586 #86402F
analogous
#2F866B #2F7586 #2F4986
triadic
#2F7586 #862F75 #75862F
tetradic
#2F7586 #6B2F86 #86402F #49862F
square
#2F7586 #6B2F86 #86402F #49862F
split-complementary
#2F7586 #862F49 #866B2F
monochromatic
#0F262B #1F4D59 #2F7586 #3F9DB3 #66B6C9

Accessibility & contrast

On white

5.24
#2F7586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2F7586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7586
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7586#FFFFFF#000000##FFFFFF
##2F75861.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7287
Deuteranopia (green-blind)
#5D6886
Tritanopia (blue-blind)
#007B7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7586;
/* rgb */ color: rgb(47, 117, 134);
/* oklch */ color: oklch(52.5% 0.074 216.5);
Tailwind
colors: {
  custom: {
    50: '#729da9',
    500: '#2f7586',
    950: '#000000',
  },
}
SCSS
$custom: #2f7586;
$custom-light: #729da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7586",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 134
  },
  "hsl": {
    "h": 191.724,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.07391,
    "h": 216.5
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#2F7586
secondary
#B07060
accent
#6B50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7586

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

Preview Lab → · Contrast checker → · Palette generator →

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