#2F7299#2F7299

#2F7299 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.7% C 0.091 H 237.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2F7299
RGBrgb(47, 114, 153)
HSLhsl(202, 53%, 39%)
HSVhsv(202, 69%, 60%)
CMYKcmyk(69.3%, 25.5%, 0%, 40%)
CIE-LABlab(45.55, -8.10, -27.31)
CIE-LCHlch(45.55, 28.49, 253.49°)
OKLaboklab(52.69% -0.0487 -0.0768)
OKLCHoklch(52.69% 0.091 237.6)
XYZxyz(12.9371, 14.9375, 32.3322)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7299 #99562F
analogous
#2F998B #2F7299 #2F3D99
triadic
#2F7299 #992F72 #72992F
tetradic
#2F7299 #8B2F99 #99562F #3D992F
square
#2F7299 #8B2F99 #99562F #3D992F
split-complementary
#2F7299 #992F3D #998B2F
monochromatic
#122C3B #214F6A #2F7299 #4194C5 #6FAED3

Accessibility & contrast

On white

5.27
#2F7299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F7299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7299
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7299#FFFFFF#000000##FFFFFF
##2F72991.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60729B
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7299;
/* rgb */ color: rgb(47, 114, 153);
/* oklch */ color: oklch(52.7% 0.091 237.6);
Tailwind
colors: {
  custom: {
    50: '#749ab7',
    500: '#2f7299',
    950: '#000000',
  },
}
SCSS
$custom: #2f7299;
$custom-light: #749ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7299",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 153
  },
  "hsl": {
    "h": 202.075,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.09097,
    "h": 237.6
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#2F7299
secondary
#BA8769
accent
#814BDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7299

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

Preview Lab → · Contrast checker → · Palette generator →

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