#2F7895#2F7895

#2F7895 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.084 H 227.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F7895
RGBrgb(47, 120, 149)
HSLhsl(197, 52%, 38%)
HSVhsv(197, 68%, 58%)
CMYKcmyk(68.5%, 19.5%, 0%, 41.6%)
CIE-LABlab(47.24, -12.94, -22.33)
CIE-LCHlch(47.24, 25.81, 239.89°)
OKLaboklab(53.98% -0.0566 -0.0625)
OKLCHoklch(53.98% 0.084 227.8)
XYZxyz(13.3114, 16.2058, 30.8544)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7895 #954C2F
analogous
#2F957F #2F7895 #2F4595
triadic
#2F7895 #952F78 #78952F
tetradic
#2F7895 #7F2F95 #954C2F #45952F
square
#2F7895 #7F2F95 #954C2F #45952F
split-complementary
#2F7895 #952F45 #957F2F
monochromatic
#122D38 #205366 #2F7895 #3F9DC2 #6DB5D1

Accessibility & contrast

On white

4.95
#2F7895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2F7895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7895
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7895#FFFFFF#000000##FFFFFF
##2F78951.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697696
Deuteranopia (green-blind)
#5B6C95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7895;
/* rgb */ color: rgb(47, 120, 149);
/* oklch */ color: oklch(54.0% 0.084 227.8);
Tailwind
colors: {
  custom: {
    50: '#749fb4',
    500: '#2f7895',
    950: '#000000',
  },
}
SCSS
$custom: #2f7895;
$custom-light: #749fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7895",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 149
  },
  "hsl": {
    "h": 197.059,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.08432,
    "h": 227.8
  },
  "luminance": 0.16207
}

Semantic roles & 50–950 ramp

primary
#2F7895
secondary
#B87E67
accent
#754CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7895

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

Preview Lab → · Contrast checker → · Palette generator →

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