#2F74C6#2F74C6

#2F74C6 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.7% C 0.145 H 254.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F74C6
RGBrgb(47, 116, 198)
HSLhsl(213, 62%, 48%)
HSVhsv(213, 76%, 78%)
CMYKcmyk(76.3%, 41.4%, 0%, 22.4%)
CIE-LABlab(48.47, 7.12, -48.89)
CIE-LCHlch(48.47, 49.41, 278.29°)
OKLaboklab(55.75% -0.0378 -0.1398)
OKLCHoklch(55.75% 0.145 254.8)
XYZxyz(17.6069, 17.1703, 55.8014)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74C6 #C6812F
analogous
#2FBFC6 #2F74C6 #352FC6
triadic
#2F74C6 #C62F74 #74C62F
tetradic
#2F74C6 #C62FBF #C6812F #2FC635
square
#2F74C6 #C62FBF #C6812F #2FC635
split-complementary
#2F74C6 #C6352F #BFC62F
monochromatic
#183A63 #235795 #2F74C6 #5A94D8 #8CB4E4

Accessibility & contrast

On white

4.74
#2F74C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F74C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74C6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74C6#FFFFFF#000000##FFFFFF
##2F74C61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BC9
Deuteranopia (green-blind)
#326DC4
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f74c6;
/* rgb */ color: rgb(47, 116, 198);
/* oklch */ color: oklch(55.7% 0.145 254.8);
Tailwind
colors: {
  custom: {
    50: '#7d9bd8',
    500: '#2f74c6',
    950: '#000000',
  },
}
SCSS
$custom: #2f74c6;
$custom-light: #7d9bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74c6",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 198
  },
  "hsl": {
    "h": 212.583,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55745,
    "c": 0.14481,
    "h": 254.8
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#2F74C6
secondary
#CEAC83
accent
#9B43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2F74C6

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

Preview Lab → · Contrast checker → · Palette generator →

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