#2F7199#2F7199

#2F7199 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.4% C 0.092 H 238.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2F7199
RGBrgb(47, 113, 153)
HSLhsl(203, 53%, 39%)
HSVhsv(203, 69%, 60%)
CMYKcmyk(69.3%, 26.1%, 0%, 40%)
CIE-LABlab(45.24, -7.51, -27.80)
CIE-LCHlch(45.24, 28.79, 254.89°)
OKLaboklab(52.44% -0.0476 -0.0782)
OKLCHoklch(52.44% 0.092 238.7)
XYZxyz(12.8250, 14.7131, 32.2948)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7199 #99572F
analogous
#2F998C #2F7199 #2F3C99
triadic
#2F7199 #992F71 #71992F
tetradic
#2F7199 #8C2F99 #99572F #3C992F
square
#2F7199 #8C2F99 #99572F #3C992F
split-complementary
#2F7199 #992F3C #998C2F
monochromatic
#122C3B #214E6A #2F7199 #4193C5 #6FADD3

Accessibility & contrast

On white

5.33
#2F7199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2F7199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7199
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7199#FFFFFF#000000##FFFFFF
##2F71991.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E719B
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7199;
/* rgb */ color: rgb(47, 113, 153);
/* oklch */ color: oklch(52.4% 0.092 238.7);
Tailwind
colors: {
  custom: {
    50: '#7499b7',
    500: '#2f7199',
    950: '#000000',
  },
}
SCSS
$custom: #2f7199;
$custom-light: #7499b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7199",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 153
  },
  "hsl": {
    "h": 202.642,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.0916,
    "h": 238.7
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#2F7199
secondary
#BA8869
accent
#824BDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7199

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

Preview Lab → · Contrast checker → · Palette generator →

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