#2F74B3#2F74B3

#2F74B3 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.6% C 0.120 H 249.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2F74B3
RGBrgb(47, 116, 179)
HSLhsl(209, 58%, 44%)
HSVhsv(209, 74%, 70%)
CMYKcmyk(73.7%, 35.2%, 0%, 29.8%)
CIE-LABlab(47.43, 0.08, -39.59)
CIE-LCHlch(47.43, 39.59, 270.11°)
OKLaboklab(54.59% -0.0425 -0.1125)
OKLCHoklch(54.59% 0.12 249.3)
XYZxyz(15.5513, 16.3480, 44.9750)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74B3 #B36E2F
analogous
#2FB3B0 #2F74B3 #2F32B3
triadic
#2F74B3 #B32F74 #74B32F
tetradic
#2F74B3 #B02FB3 #B36E2F #32B32F
square
#2F74B3 #B02FB3 #B36E2F #32B32F
split-complementary
#2F74B3 #B32F32 #B3B02F
monochromatic
#163552 #225583 #2F74B3 #4F93D1 #7FB0DD

Accessibility & contrast

On white

4.92
#2F74B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2F74B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74B3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74B3#FFFFFF#000000##FFFFFF
##2F74B31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B6
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f74b3;
/* rgb */ color: rgb(47, 116, 179);
/* oklch */ color: oklch(54.6% 0.120 249.3);
Tailwind
colors: {
  custom: {
    50: '#799bca',
    500: '#2f74b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f74b3;
$custom-light: #799bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74b3",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 179
  },
  "hsl": {
    "h": 208.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54587,
    "c": 0.1203,
    "h": 249.3
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#2F74B3
secondary
#C69D78
accent
#9046E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74B3

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

Preview Lab → · Contrast checker → · Palette generator →

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