#2F74B7#2F74B7

#2F74B7 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.125 H 250.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F74B7
RGBrgb(47, 116, 183)
HSLhsl(210, 59%, 45%)
HSVhsv(210, 74%, 72%)
CMYKcmyk(74.3%, 36.6%, 0%, 28.2%)
CIE-LABlab(47.64, 1.55, -41.57)
CIE-LCHlch(47.64, 41.60, 272.13°)
OKLaboklab(54.82% -0.0415 -0.1183)
OKLCHoklch(54.82% 0.125 250.7)
XYZxyz(15.9617, 16.5122, 47.1365)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74B7 #B7722F
analogous
#2FB7B6 #2F74B7 #2F30B7
triadic
#2F74B7 #B72F74 #74B72F
tetradic
#2F74B7 #B62FB7 #B7722F #30B72F
square
#2F74B7 #B62FB7 #B7722F #30B72F
split-complementary
#2F74B7 #B72F30 #B7B62F
monochromatic
#163656 #225586 #2F74B7 #5193D2 #82B1DF

Accessibility & contrast

On white

4.88
#2F74B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2F74B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74B7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74B7#FFFFFF#000000##FFFFFF
##2F74B71.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5578BA
Deuteranopia (green-blind)
#416BB6
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f74b7;
/* rgb */ color: rgb(47, 116, 183);
/* oklch */ color: oklch(54.8% 0.125 250.7);
Tailwind
colors: {
  custom: {
    50: '#7a9bcd',
    500: '#2f74b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f74b7;
$custom-light: #7a9bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74b7",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 183
  },
  "hsl": {
    "h": 209.559,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.12538,
    "h": 250.7
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

primary
#2F74B7
secondary
#C8A07A
accent
#9345E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74B7

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

Preview Lab → · Contrast checker → · Palette generator →

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