#2F7195#2F7195

#2F7195 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.087 H 235.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F7195
RGBrgb(47, 113, 149)
HSLhsl(201, 52%, 38%)
HSVhsv(201, 68%, 58%)
CMYKcmyk(68.5%, 24.2%, 0%, 41.6%)
CIE-LABlab(45.06, -8.91, -25.71)
CIE-LCHlch(45.06, 27.21, 250.88°)
OKLaboklab(52.24% -0.0491 -0.0722)
OKLCHoklch(52.24% 0.087 235.8)
XYZxyz(12.5001, 14.5832, 30.5840)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7195 #95532F
analogous
#2F9586 #2F7195 #2F3E95
triadic
#2F7195 #952F71 #71952F
tetradic
#2F7195 #862F95 #95532F #3E952F
square
#2F7195 #862F95 #95532F #3E952F
split-complementary
#2F7195 #952F3E #95862F
monochromatic
#122A38 #204E66 #2F7195 #3F94C2 #6DAED1

Accessibility & contrast

On white

5.36
#2F7195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F7195 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7195
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7195#FFFFFF#000000##FFFFFF
##2F71951.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607097
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#007A7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7195;
/* rgb */ color: rgb(47, 113, 149);
/* oklch */ color: oklch(52.2% 0.087 235.8);
Tailwind
colors: {
  custom: {
    50: '#7499b4',
    500: '#2f7195',
    950: '#000000',
  },
}
SCSS
$custom: #2f7195;
$custom-light: #7499b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7195",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 149
  },
  "hsl": {
    "h": 201.176,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52237,
    "c": 0.08731,
    "h": 235.8
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#2F7195
secondary
#B88467
accent
#7F4CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7195

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

Preview Lab → · Contrast checker → · Palette generator →

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