#2F5D87#2F5D87

#2F5D87 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.085 H 248.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2F5D87
RGBrgb(47, 93, 135)
HSLhsl(209, 48%, 36%)
HSVhsv(209, 65%, 53%)
CMYKcmyk(65.2%, 31.1%, 0%, 47.1%)
CIE-LABlab(38.17, -1.77, -28.06)
CIE-LCHlch(38.17, 28.12, 266.38°)
OKLaboklab(46.57% -0.0317 -0.0792)
OKLCHoklch(46.57% 0.085 248.2)
XYZxyz(9.4582, 10.1814, 24.3837)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D87 #87592F
analogous
#2F8785 #2F5D87 #2F3187
triadic
#2F5D87 #872F5D #5D872F
tetradic
#2F5D87 #852F87 #87592F #31872F
square
#2F5D87 #852F87 #87592F #31872F
split-complementary
#2F5D87 #872F31 #87852F
monochromatic
#0F1E2C #1F3E5A #2F5D87 #3F7CB4 #669ACA

Accessibility & contrast

On white

6.92
#2F5D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F5D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D87
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D87#FFFFFF#000000##FFFFFF
##2F5D871.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5d87;
/* rgb */ color: rgb(47, 93, 135);
/* oklch */ color: oklch(46.6% 0.085 248.2);
Tailwind
colors: {
  custom: {
    50: '#718aaa',
    500: '#2f5d87',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d87;
$custom-light: #718aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d87",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 135
  },
  "hsl": {
    "h": 208.636,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46568,
    "c": 0.08532,
    "h": 248.2
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#2F5D87
secondary
#B18761
accent
#9150D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5D87

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

Preview Lab → · Contrast checker → · Palette generator →

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