#2F5F86#2F5F86

#2F5F86 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.0% C 0.082 H 245.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2F5F86
RGBrgb(47, 95, 134)
HSLhsl(207, 48%, 35%)
HSVhsv(207, 65%, 53%)
CMYKcmyk(64.9%, 29.1%, 0%, 47.5%)
CIE-LABlab(38.74, -3.38, -26.56)
CIE-LCHlch(38.74, 26.77, 262.76°)
OKLaboklab(47.01% -0.0343 -0.0748)
OKLCHoklch(47.01% 0.082 245.3)
XYZxyz(9.5660, 10.5091, 24.0740)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F86 #86562F
analogous
#2F8681 #2F5F86 #2F3386
triadic
#2F5F86 #862F5F #5F862F
tetradic
#2F5F86 #812F86 #86562F #33862F
square
#2F5F86 #812F86 #86562F #33862F
split-complementary
#2F5F86 #862F33 #86812F
monochromatic
#0F1F2B #1F3F59 #2F5F86 #3F7FB3 #669DC9

Accessibility & contrast

On white

6.77
#2F5F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2F5F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F86
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F86#FFFFFF#000000##FFFFFF
##2F5F861.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6088
Deuteranopia (green-blind)
#425785
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5f86;
/* rgb */ color: rgb(47, 95, 134);
/* oklch */ color: oklch(47.0% 0.082 245.3);
Tailwind
colors: {
  custom: {
    50: '#718ca9',
    500: '#2f5f86',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f86;
$custom-light: #718ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f86",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 134
  },
  "hsl": {
    "h": 206.897,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.08231,
    "h": 245.3
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#2F5F86
secondary
#B08460
accent
#8D50D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2F5F86

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

Preview Lab → · Contrast checker → · Palette generator →

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