#2F7399#2F7399

#2F7399 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.9% C 0.090 H 236.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2F7399
RGBrgb(47, 115, 153)
HSLhsl(202, 53%, 39%)
HSVhsv(202, 69%, 60%)
CMYKcmyk(69.3%, 24.8%, 0%, 40%)
CIE-LABlab(45.86, -8.68, -26.83)
CIE-LCHlch(45.86, 28.20, 252.07°)
OKLaboklab(52.93% -0.0498 -0.0754)
OKLCHoklch(52.93% 0.09 236.6)
XYZxyz(13.0506, 15.1643, 32.3700)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7399 #99552F
analogous
#2F998A #2F7399 #2F3E99
triadic
#2F7399 #992F73 #73992F
tetradic
#2F7399 #8A2F99 #99552F #3E992F
square
#2F7399 #8A2F99 #99552F #3E992F
split-complementary
#2F7399 #992F3E #998A2F
monochromatic
#122D3B #21506A #2F7399 #4195C5 #6FAFD3

Accessibility & contrast

On white

5.21
#2F7399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F7399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7399
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7399#FFFFFF#000000##FFFFFF
##2F73991.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729B
Deuteranopia (green-blind)
#526898
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7399;
/* rgb */ color: rgb(47, 115, 153);
/* oklch */ color: oklch(52.9% 0.090 236.6);
Tailwind
colors: {
  custom: {
    50: '#749bb7',
    500: '#2f7399',
    950: '#000000',
  },
}
SCSS
$custom: #2f7399;
$custom-light: #749bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7399",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 153
  },
  "hsl": {
    "h": 201.509,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52932,
    "c": 0.09038,
    "h": 236.6
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#2F7399
secondary
#BA8669
accent
#7F4BDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7399

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

Preview Lab → · Contrast checker → · Palette generator →

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