#2F5D7A#2F5D7A

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

Color values

HEX#2F5D7A
RGBrgb(47, 93, 122)
HSLhsl(203, 44%, 33%)
HSVhsv(203, 61%, 48%)
CMYKcmyk(61.5%, 23.8%, 0%, 52.2%)
CIE-LABlab(37.55, -6.36, -21.09)
CIE-LCHlch(37.55, 22.03, 253.21°)
OKLaboklab(45.88% -0.0362 -0.059)
OKLCHoklch(45.88% 0.069 238.5)
XYZxyz(8.5982, 9.8374, 19.8543)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D7A #7A4C2F
analogous
#2F7A71 #2F5D7A #2F377A
triadic
#2F5D7A #7A2F5D #5D7A2F
tetradic
#2F5D7A #712F7A #7A4C2F #377A2F
square
#2F5D7A #712F7A #7A4C2F #377A2F
split-complementary
#2F5D7A #7A2F37 #7A712F
monochromatic
#0D1A22 #1E3B4E #2F5D7A #407FA6 #619DC2

Accessibility & contrast

On white

7.08
#2F5D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2F5D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D7A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D7A#FFFFFF#000000##FFFFFF
##2F5D7A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7B
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5d7a;
/* rgb */ color: rgb(47, 93, 122);
/* oklch */ color: oklch(45.9% 0.069 238.5);
Tailwind
colors: {
  custom: {
    50: '#6f8aa0',
    500: '#2f5d7a',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d7a;
$custom-light: #6f8aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d7a",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 122
  },
  "hsl": {
    "h": 203.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.06927,
    "h": 238.5
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#2F5D7A
secondary
#A97A5C
accent
#8554D4
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2F5D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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