#2F5487#2F5487

#2F5487 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.4% C 0.095 H 256.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2F5487
RGBrgb(47, 84, 135)
HSLhsl(215, 48%, 36%)
HSVhsv(215, 65%, 53%)
CMYKcmyk(65.2%, 37.8%, 0%, 47.1%)
CIE-LABlab(35.39, 3.96, -32.44)
CIE-LCHlch(35.39, 32.68, 276.96°)
OKLaboklab(44.39% -0.0216 -0.0921)
OKLCHoklch(44.39% 0.095 256.8)
XYZxyz(8.7142, 8.6934, 24.1357)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5487 #87622F
analogous
#2F8087 #2F5487 #362F87
triadic
#2F5487 #872F54 #54872F
tetradic
#2F5487 #872F80 #87622F #2F8736
square
#2F5487 #872F80 #87622F #2F8736
split-complementary
#2F5487 #87362F #80872F
monochromatic
#0F1C2C #1F385A #2F5487 #3F70B4 #6690CA

Accessibility & contrast

On white

7.67
#2F5487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F5487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5487
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5487#FFFFFF#000000##FFFFFF
##2F54871.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#324F86
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5487;
/* rgb */ color: rgb(47, 84, 135);
/* oklch */ color: oklch(44.4% 0.095 256.8);
Tailwind
colors: {
  custom: {
    50: '#7183aa',
    500: '#2f5487',
    950: '#000000',
  },
}
SCSS
$custom: #2f5487;
$custom-light: #7183aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5487",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 214.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.09456,
    "h": 256.8
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#2F5487
secondary
#B18F61
accent
#9F50D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F5487

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

Preview Lab → · Contrast checker → · Palette generator →

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