#2F5E89#2F5E89

#2F5E89 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.087 H 248.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2F5E89
RGBrgb(47, 94, 137)
HSLhsl(209, 49%, 36%)
HSVhsv(209, 66%, 54%)
CMYKcmyk(65.7%, 31.4%, 0%, 46.3%)
CIE-LABlab(38.58, -1.68, -28.63)
CIE-LCHlch(38.58, 28.68, 266.65°)
OKLaboklab(46.92% -0.0322 -0.0808)
OKLCHoklch(46.92% 0.087 248.3)
XYZxyz(9.6887, 10.4149, 25.1617)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E89 #895A2F
analogous
#2F8987 #2F5E89 #2F3189
triadic
#2F5E89 #892F5E #5E892F
tetradic
#2F5E89 #872F89 #895A2F #31892F
square
#2F5E89 #872F89 #895A2F #31892F
split-complementary
#2F5E89 #892F31 #89872F
monochromatic
#101F2E #1F3F5B #2F5E89 #3F7DB7 #679BCB

Accessibility & contrast

On white

6.81
#2F5E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F5E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E89
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E89#FFFFFF#000000##FFFFFF
##2F5E891.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608B
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5e89;
/* rgb */ color: rgb(47, 94, 137);
/* oklch */ color: oklch(46.9% 0.087 248.3);
Tailwind
colors: {
  custom: {
    50: '#718bab',
    500: '#2f5e89',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e89;
$custom-light: #718bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e89",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 137
  },
  "hsl": {
    "h": 208.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46924,
    "c": 0.08703,
    "h": 248.3
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#2F5E89
secondary
#B28862
accent
#914FD8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2F5E89

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

Preview Lab → · Contrast checker → · Palette generator →

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