#2F5F7A#2F5F7A

#2F5F7A is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.068 H 235.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2F5F7A
RGBrgb(47, 95, 122)
HSLhsl(202, 44%, 33%)
HSVhsv(202, 61%, 48%)
CMYKcmyk(61.5%, 22.1%, 0%, 52.2%)
CIE-LABlab(38.19, -7.57, -20.10)
CIE-LCHlch(38.19, 21.48, 249.35°)
OKLaboklab(46.38% -0.0386 -0.0562)
OKLCHoklch(46.38% 0.068 235.5)
XYZxyz(8.7760, 10.1931, 19.9135)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F7A #7A4A2F
analogous
#2F7A6F #2F5F7A #2F397A
triadic
#2F5F7A #7A2F5F #5F7A2F
tetradic
#2F5F7A #6F2F7A #7A4A2F #397A2F
square
#2F5F7A #6F2F7A #7A4A2F #397A2F
split-complementary
#2F5F7A #7A2F39 #7A6F2F
monochromatic
#0D1A22 #1E3D4E #2F5F7A #4081A6 #619FC2

Accessibility & contrast

On white

6.91
#2F5F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F5F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F7A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F7A#FFFFFF#000000##FFFFFF
##2F5F7A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7B
Deuteranopia (green-blind)
#48567A
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5f7a;
/* rgb */ color: rgb(47, 95, 122);
/* oklch */ color: oklch(46.4% 0.068 235.5);
Tailwind
colors: {
  custom: {
    50: '#6f8ca0',
    500: '#2f5f7a',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f7a;
$custom-light: #6f8ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f7a",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 122
  },
  "hsl": {
    "h": 201.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.0682,
    "h": 235.5
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#2F5F7A
secondary
#A9785C
accent
#8254D4
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #2F5F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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