#2F7595#2F7595

#2F7595 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.2% C 0.085 H 231.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F7595
RGBrgb(47, 117, 149)
HSLhsl(199, 52%, 38%)
HSVhsv(199, 68%, 58%)
CMYKcmyk(68.5%, 21.5%, 0%, 41.6%)
CIE-LABlab(46.31, -11.23, -23.77)
CIE-LCHlch(46.31, 26.29, 244.71°)
OKLaboklab(53.23% -0.0534 -0.0666)
OKLCHoklch(53.23% 0.085 231.3)
XYZxyz(12.9563, 15.4954, 30.7360)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7595 #954F2F
analogous
#2F9582 #2F7595 #2F4295
triadic
#2F7595 #952F75 #75952F
tetradic
#2F7595 #822F95 #954F2F #42952F
square
#2F7595 #822F95 #954F2F #42952F
split-complementary
#2F7595 #952F42 #95822F
monochromatic
#122C38 #205066 #2F7595 #3F99C2 #6DB2D1

Accessibility & contrast

On white

5.12
#2F7595 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F7595 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7595
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7595#FFFFFF#000000##FFFFFF
##2F75951.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657397
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7595;
/* rgb */ color: rgb(47, 117, 149);
/* oklch */ color: oklch(53.2% 0.085 231.3);
Tailwind
colors: {
  custom: {
    50: '#749cb4',
    500: '#2f7595',
    950: '#000000',
  },
}
SCSS
$custom: #2f7595;
$custom-light: #749cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7595",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 149
  },
  "hsl": {
    "h": 198.824,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.08538,
    "h": 231.3
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#2F7595
secondary
#B88167
accent
#794CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7595

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

Preview Lab → · Contrast checker → · Palette generator →

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