#2F5B89#2F5B89

#2F5B89 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.090 H 251.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2F5B89
RGBrgb(47, 91, 137)
HSLhsl(211, 49%, 36%)
HSVhsv(211, 66%, 54%)
CMYKcmyk(65.7%, 33.6%, 0%, 46.3%)
CIE-LABlab(37.65, 0.21, -30.09)
CIE-LCHlch(37.65, 30.09, 270.39°)
OKLaboklab(46.19% -0.0288 -0.0851)
OKLCHoklch(46.19% 0.09 251.3)
XYZxyz(9.4271, 9.8917, 25.0745)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B89 #895D2F
analogous
#2F8889 #2F5B89 #302F89
triadic
#2F5B89 #892F5B #5B892F
tetradic
#2F5B89 #892F88 #895D2F #2F8930
square
#2F5B89 #892F88 #895D2F #2F8930
split-complementary
#2F5B89 #89302F #88892F
monochromatic
#101E2E #1F3D5B #2F5B89 #3F79B7 #6798CB

Accessibility & contrast

On white

7.05
#2F5B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2F5B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B89
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B89#FFFFFF#000000##FFFFFF
##2F5B891.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D8B
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5b89;
/* rgb */ color: rgb(47, 91, 137);
/* oklch */ color: oklch(46.2% 0.090 251.3);
Tailwind
colors: {
  custom: {
    50: '#7189ab',
    500: '#2f5b89',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b89;
$custom-light: #7189ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b89",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 137
  },
  "hsl": {
    "h": 210.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46194,
    "c": 0.08989,
    "h": 251.3
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#2F5B89
secondary
#B28B62
accent
#954FD8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5B89

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

Preview Lab → · Contrast checker → · Palette generator →

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