#2F5B8A#2F5B8A

#2F5B8A is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.091 H 251.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2F5B8A
RGBrgb(47, 91, 138)
HSLhsl(211, 49%, 36%)
HSVhsv(211, 66%, 54%)
CMYKcmyk(65.9%, 34.1%, 0%, 45.9%)
CIE-LABlab(37.70, 0.57, -30.62)
CIE-LCHlch(37.70, 30.63, 271.07°)
OKLaboklab(46.25% -0.0285 -0.0867)
OKLCHoklch(46.25% 0.091 251.8)
XYZxyz(9.4991, 9.9206, 25.4541)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B8A #8A5E2F
analogous
#2F898A #2F5B8A #312F8A
triadic
#2F5B8A #8A2F5B #5B8A2F
tetradic
#2F5B8A #8A2F89 #8A5E2F #2F8A31
square
#2F5B8A #8A2F89 #8A5E2F #2F8A31
split-complementary
#2F5B8A #8A312F #898A2F
monochromatic
#101F2F #1F3D5C #2F5B8A #3F79B8 #6898CC

Accessibility & contrast

On white

7.04
#2F5B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5B8A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B8A#FFFFFF#000000##FFFFFF
##2F5B8A1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#00666C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5b8a;
/* rgb */ color: rgb(47, 91, 138);
/* oklch */ color: oklch(46.3% 0.091 251.8);
Tailwind
colors: {
  custom: {
    50: '#7189ac',
    500: '#2f5b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b8a;
$custom-light: #7189ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b8a",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 210.989,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.09124,
    "h": 251.8
  },
  "luminance": 0.09921
}

Semantic roles & 50–950 ramp

primary
#2F5B8A
secondary
#B38C62
accent
#964FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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