#2F74C0#2F74C0

#2F74C0 is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.4% C 0.137 H 253.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F74C0
RGBrgb(47, 116, 192)
HSLhsl(211, 61%, 47%)
HSVhsv(211, 76%, 75%)
CMYKcmyk(75.5%, 39.6%, 0%, 24.7%)
CIE-LABlab(48.13, 4.89, -45.99)
CIE-LCHlch(48.13, 46.25, 276.06°)
OKLaboklab(55.37% -0.0392 -0.1313)
OKLCHoklch(55.37% 0.137 253.4)
XYZxyz(16.9286, 16.8989, 52.2286)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74C0 #C07B2F
analogous
#2FBDC0 #2F74C0 #332FC0
triadic
#2F74C0 #C02F74 #74C02F
tetradic
#2F74C0 #C02FBD #C07B2F #2FC033
square
#2F74C0 #C02FBD #C07B2F #2FC033
split-complementary
#2F74C0 #C0332F #BDC02F
monochromatic
#17395E #23568F #2F74C0 #5693D6 #88B3E2

Accessibility & contrast

On white

4.79
#2F74C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F74C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74C0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74C0#FFFFFF#000000##FFFFFF
##2F74C01.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5079C3
Deuteranopia (green-blind)
#396CBE
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f74c0;
/* rgb */ color: rgb(47, 116, 192);
/* oklch */ color: oklch(55.4% 0.137 253.4);
Tailwind
colors: {
  custom: {
    50: '#7b9bd3',
    500: '#2f74c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f74c0;
$custom-light: #7b9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74c0",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 192
  },
  "hsl": {
    "h": 211.448,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55368,
    "c": 0.13699,
    "h": 253.4
  },
  "luminance": 0.16901
}

Semantic roles & 50–950 ramp

primary
#2F74C0
secondary
#CBA77F
accent
#9844E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2F74C0

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

Preview Lab → · Contrast checker → · Palette generator →

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