#2F5986#2F5986

#2F5986 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.5% C 0.088 H 251.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2F5986
RGBrgb(47, 89, 134)
HSLhsl(211, 48%, 35%)
HSVhsv(211, 65%, 53%)
CMYKcmyk(64.9%, 33.6%, 0%, 47.5%)
CIE-LABlab(36.87, 0.39, -29.49)
CIE-LCHlch(36.87, 29.49, 270.75°)
OKLaboklab(45.54% -0.0275 -0.0834)
OKLCHoklch(45.54% 0.088 251.7)
XYZxyz(9.0462, 9.4695, 23.9007)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5986 #865C2F
analogous
#2F8486 #2F5986 #302F86
triadic
#2F5986 #862F59 #59862F
tetradic
#2F5986 #862F84 #865C2F #2F8630
square
#2F5986 #862F84 #865C2F #2F8630
split-complementary
#2F5986 #86302F #84862F
monochromatic
#0F1D2B #1F3B59 #2F5986 #3F77B3 #6696C9

Accessibility & contrast

On white

7.26
#2F5986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F5986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5986
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5986#FFFFFF#000000##FFFFFF
##2F59861.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B88
Deuteranopia (green-blind)
#3A5385
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f5986;
/* rgb */ color: rgb(47, 89, 134);
/* oklch */ color: oklch(45.5% 0.088 251.7);
Tailwind
colors: {
  custom: {
    50: '#7087a9',
    500: '#2f5986',
    950: '#000000',
  },
}
SCSS
$custom: #2f5986;
$custom-light: #7087a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5986",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 211.034,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.0878,
    "h": 251.7
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#2F5986
secondary
#B08A60
accent
#9650D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5986

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

Preview Lab → · Contrast checker → · Palette generator →

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