#2F5686#2F5686

#2F5686 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.091 H 254.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2F5686
RGBrgb(47, 86, 134)
HSLhsl(213, 48%, 35%)
HSVhsv(213, 65%, 53%)
CMYKcmyk(64.9%, 35.8%, 0%, 47.5%)
CIE-LABlab(35.95, 2.30, -30.95)
CIE-LCHlch(35.95, 31.03, 274.26°)
OKLaboklab(44.81% -0.0241 -0.0877)
OKLCHoklch(44.81% 0.091 254.6)
XYZxyz(8.8016, 8.9803, 23.8192)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5686 #865F2F
analogous
#2F8186 #2F5686 #332F86
triadic
#2F5686 #862F56 #56862F
tetradic
#2F5686 #862F81 #865F2F #2F8633
square
#2F5686 #862F81 #865F2F #2F8633
split-complementary
#2F5686 #86332F #81862F
monochromatic
#0F1C2B #1F3959 #2F5686 #3F73B3 #6693C9

Accessibility & contrast

On white

7.51
#2F5686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F5686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5686
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5686#FFFFFF#000000##FFFFFF
##2F56861.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#355185
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5686;
/* rgb */ color: rgb(47, 86, 134);
/* oklch */ color: oklch(44.8% 0.091 254.6);
Tailwind
colors: {
  custom: {
    50: '#7085a9',
    500: '#2f5686',
    950: '#000000',
  },
}
SCSS
$custom: #2f5686;
$custom-light: #7085a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5686",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 213.103,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4481,
    "c": 0.09092,
    "h": 254.6
  },
  "luminance": 0.08981
}

Semantic roles & 50–950 ramp

primary
#2F5686
secondary
#B08D60
accent
#9B50D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5686

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

Preview Lab → · Contrast checker → · Palette generator →

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