#2F5689#2F5689

#2F5689 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 45.0% C 0.095 H 255.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2F5689
RGBrgb(47, 86, 137)
HSLhsl(214, 49%, 36%)
HSVhsv(214, 66%, 54%)
CMYKcmyk(65.7%, 37.2%, 0%, 46.3%)
CIE-LABlab(36.11, 3.40, -32.52)
CIE-LCHlch(36.11, 32.70, 275.97°)
OKLaboklab(44.99% -0.0233 -0.0923)
OKLCHoklch(44.99% 0.095 255.8)
XYZxyz(9.0138, 9.0652, 24.9368)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5689 #89622F
analogous
#2F8389 #2F5689 #352F89
triadic
#2F5689 #892F56 #56892F
tetradic
#2F5689 #892F83 #89622F #2F8935
square
#2F5689 #892F83 #89622F #2F8935
split-complementary
#2F5689 #89352F #83892F
monochromatic
#101D2E #1F395B #2F5689 #3F73B7 #6793CB

Accessibility & contrast

On white

7.46
#2F5689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F5689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5689
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5689#FFFFFF#000000##FFFFFF
##2F56891.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8B
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5689;
/* rgb */ color: rgb(47, 86, 137);
/* oklch */ color: oklch(45.0% 0.095 255.8);
Tailwind
colors: {
  custom: {
    50: '#7185ab',
    500: '#2f5689',
    950: '#000000',
  },
}
SCSS
$custom: #2f5689;
$custom-light: #7185ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5689",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 137
  },
  "hsl": {
    "h": 214,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.09516,
    "h": 255.8
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#2F5689
secondary
#B28F62
accent
#9D4FD8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5689

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

Preview Lab → · Contrast checker → · Palette generator →

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