#2F5C8B#2F5C8B

#2F5C8B is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.092 H 251.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2F5C8B
RGBrgb(47, 92, 139)
HSLhsl(211, 49%, 36%)
HSVhsv(211, 66%, 55%)
CMYKcmyk(66.2%, 33.8%, 0%, 45.5%)
CIE-LABlab(38.06, 0.30, -30.66)
CIE-LCHlch(38.06, 30.66, 270.56°)
OKLaboklab(46.55% -0.0294 -0.0868)
OKLCHoklch(46.55% 0.092 251.3)
XYZxyz(9.6579, 10.1218, 25.8658)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C8B #8B5E2F
analogous
#2F8A8B #2F5C8B #302F8B
triadic
#2F5C8B #8B2F5C #5C8B2F
tetradic
#2F5C8B #8B2F8A #8B5E2F #2F8B30
square
#2F5C8B #8B2F8A #8B5E2F #2F8B30
split-complementary
#2F5C8B #8B302F #8A8B2F
monochromatic
#101F30 #203E5D #2F5C8B #3E7AB9 #6899CC

Accessibility & contrast

On white

6.94
#2F5C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2F5C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5C8B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C8B#FFFFFF#000000##FFFFFF
##2F5C8B1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8D
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5c8b;
/* rgb */ color: rgb(47, 92, 139);
/* oklch */ color: oklch(46.6% 0.092 251.3);
Tailwind
colors: {
  custom: {
    50: '#7189ad',
    500: '#2f5c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c8b;
$custom-light: #7189ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c8b",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 139
  },
  "hsl": {
    "h": 210.652,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.0916,
    "h": 251.3
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#2F5C8B
secondary
#B38C63
accent
#954FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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