#2F74A6#2F74A6

#2F74A6 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.9% C 0.104 H 243.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F74A6
RGBrgb(47, 116, 166)
HSLhsl(205, 56%, 42%)
HSVhsv(205, 72%, 65%)
CMYKcmyk(71.7%, 30.1%, 0%, 34.9%)
CIE-LABlab(46.77, -4.65, -33.04)
CIE-LCHlch(46.77, 33.37, 261.98°)
OKLaboklab(53.86% -0.0464 -0.0934)
OKLCHoklch(53.86% 0.104 243.6)
XYZxyz(14.2980, 15.8467, 38.3742)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74A6 #A6612F
analogous
#2FA69D #2F74A6 #2F39A6
triadic
#2F74A6 #A62F74 #74A62F
tetradic
#2F74A6 #9D2FA6 #A6612F #39A62F
square
#2F74A6 #9D2FA6 #A6612F #39A62F
split-complementary
#2F74A6 #A62F39 #A69D2F
monochromatic
#143147 #215376 #2F74A6 #4794CB #77AFD8

Accessibility & contrast

On white

5.04
#2F74A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F74A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74A6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74A6#FFFFFF#000000##FFFFFF
##2F74A61.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A8
Deuteranopia (green-blind)
#4D6AA5
Tritanopia (blue-blind)
#008086
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f74a6;
/* rgb */ color: rgb(47, 116, 166);
/* oklch */ color: oklch(53.9% 0.104 243.6);
Tailwind
colors: {
  custom: {
    50: '#779bc0',
    500: '#2f74a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f74a6;
$custom-light: #779bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74a6",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 166
  },
  "hsl": {
    "h": 205.21,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.10433,
    "h": 243.6
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#2F74A6
secondary
#C19270
accent
#8849DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F74A6

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

Preview Lab → · Contrast checker → · Palette generator →

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