#2F6587#2F6587

#2F6587 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.5% C 0.079 H 239.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2F6587
RGBrgb(47, 101, 135)
HSLhsl(203, 48%, 36%)
HSVhsv(203, 65%, 53%)
CMYKcmyk(65.2%, 25.2%, 0%, 47.1%)
CIE-LABlab(40.67, -6.68, -24.15)
CIE-LCHlch(40.67, 25.06, 254.54°)
OKLaboklab(48.55% -0.0408 -0.0678)
OKLCHoklch(48.55% 0.079 239)
XYZxyz(10.1975, 11.6599, 24.6302)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6587 #87512F
analogous
#2F877D #2F6587 #2F3987
triadic
#2F6587 #872F65 #65872F
tetradic
#2F6587 #7D2F87 #87512F #39872F
square
#2F6587 #7D2F87 #87512F #39872F
split-complementary
#2F6587 #872F39 #877D2F
monochromatic
#0F212C #1F435A #2F6587 #3F87B4 #66A3CA

Accessibility & contrast

On white

6.30
#2F6587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2F6587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6587
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6587#FFFFFF#000000##FFFFFF
##2F65871.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556589
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#006E71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6587;
/* rgb */ color: rgb(47, 101, 135);
/* oklch */ color: oklch(48.5% 0.079 239.0);
Tailwind
colors: {
  custom: {
    50: '#7190aa',
    500: '#2f6587',
    950: '#000000',
  },
}
SCSS
$custom: #2f6587;
$custom-light: #7190aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6587",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 135
  },
  "hsl": {
    "h": 203.182,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.07916,
    "h": 239
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#2F6587
secondary
#B18061
accent
#8450D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2F6587

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

Preview Lab → · Contrast checker → · Palette generator →

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