#2F5B84#2F5B84

#2F5B84 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.9% C 0.083 H 248.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2F5B84
RGBrgb(47, 91, 132)
HSLhsl(209, 47%, 35%)
HSVhsv(209, 64%, 52%)
CMYKcmyk(64.4%, 31.1%, 0%, 48.2%)
CIE-LABlab(37.39, -1.60, -27.45)
CIE-LCHlch(37.39, 27.50, 266.67°)
OKLaboklab(45.91% -0.0304 -0.0774)
OKLCHoklch(45.91% 0.083 248.6)
XYZxyz(9.0767, 9.7516, 23.2292)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B84 #84582F
analogous
#2F8482 #2F5B84 #2F3184
triadic
#2F5B84 #842F5B #5B842F
tetradic
#2F5B84 #822F84 #84582F #31842F
square
#2F5B84 #822F84 #84582F #31842F
split-complementary
#2F5B84 #842F31 #84822F
monochromatic
#0F1D2A #1F3C57 #2F5B84 #3F7AB1 #6598C8

Accessibility & contrast

On white

7.12
#2F5B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2F5B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B84
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B84#FFFFFF#000000##FFFFFF
##2F5B841.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495D86
Deuteranopia (green-blind)
#3E5483
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5b84;
/* rgb */ color: rgb(47, 91, 132);
/* oklch */ color: oklch(45.9% 0.083 248.6);
Tailwind
colors: {
  custom: {
    50: '#7089a8',
    500: '#2f5b84',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b84;
$custom-light: #7089a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b84",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 132
  },
  "hsl": {
    "h": 208.941,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.08318,
    "h": 248.6
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#2F5B84
secondary
#AF8660
accent
#9251D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5B84

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

Preview Lab → · Contrast checker → · Palette generator →

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