#2F5C8A#2F5C8A

#2F5C8A is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.5% C 0.090 H 250.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2F5C8A
RGBrgb(47, 92, 138)
HSLhsl(210, 49%, 36%)
HSVhsv(210, 66%, 54%)
CMYKcmyk(65.9%, 33.3%, 0%, 45.9%)
CIE-LABlab(38.01, -0.06, -30.13)
CIE-LCHlch(38.01, 30.13, 269.88°)
OKLaboklab(46.49% -0.0297 -0.0852)
OKLCHoklch(46.49% 0.09 250.8)
XYZxyz(9.5852, 10.0927, 25.4828)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C8A #8A5D2F
analogous
#2F8A8A #2F5C8A #302F8A
triadic
#2F5C8A #8A2F5C #5C8A2F
tetradic
#2F5C8A #8A2F8A #8A5D2F #2F8A30
square
#2F5C8A #8A2F8A #8A5D2F #2F8A30
split-complementary
#2F5C8A #8A302F #8A8A2F
monochromatic
#101F2F #1F3E5C #2F5C8A #3F7AB8 #6899CC

Accessibility & contrast

On white

6.96
#2F5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5C8A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C8A#FFFFFF#000000##FFFFFF
##2F5C8A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5c8a;
/* rgb */ color: rgb(47, 92, 138);
/* oklch */ color: oklch(46.5% 0.090 250.8);
Tailwind
colors: {
  custom: {
    50: '#7189ac',
    500: '#2f5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c8a;
$custom-light: #7189ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c8a",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 210.33,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46494,
    "c": 0.09025,
    "h": 250.8
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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