#2F7098#2F7098

#2F7098 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.1% C 0.091 H 239.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2F7098
RGBrgb(47, 112, 152)
HSLhsl(203, 53%, 39%)
HSVhsv(203, 69%, 60%)
CMYKcmyk(69.1%, 26.3%, 0%, 40.4%)
CIE-LABlab(44.88, -7.27, -27.76)
CIE-LCHlch(44.88, 28.69, 255.33°)
OKLaboklab(52.14% -0.0469 -0.0781)
OKLCHoklch(52.14% 0.091 239)
XYZxyz(12.6318, 14.4583, 31.8247)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7098 #98572F
analogous
#2F988C #2F7098 #2F3C98
triadic
#2F7098 #982F70 #70982F
tetradic
#2F7098 #8C2F98 #98572F #3C982F
square
#2F7098 #8C2F98 #98572F #3C982F
split-complementary
#2F7098 #982F3C #988C2F
monochromatic
#122B3B #214E69 #2F7098 #4092C4 #6FADD2

Accessibility & contrast

On white

5.40
#2F7098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2F7098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7098
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7098#FFFFFF#000000##FFFFFF
##2F70981.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7098;
/* rgb */ color: rgb(47, 112, 152);
/* oklch */ color: oklch(52.1% 0.091 239.0);
Tailwind
colors: {
  custom: {
    50: '#7499b6',
    500: '#2f7098',
    950: '#000000',
  },
}
SCSS
$custom: #2f7098;
$custom-light: #7499b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7098",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 152
  },
  "hsl": {
    "h": 202.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.09114,
    "h": 239
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#2F7098
secondary
#BA8869
accent
#834CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2F7098

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

Preview Lab → · Contrast checker → · Palette generator →

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