#2F74B9#2F74B9

#2F74B9 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 54.9% C 0.128 H 251.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2F74B9
RGBrgb(47, 116, 185)
HSLhsl(210, 59%, 45%)
HSVhsv(210, 75%, 73%)
CMYKcmyk(74.6%, 37.3%, 0%, 27.5%)
CIE-LABlab(47.75, 2.29, -42.56)
CIE-LCHlch(47.75, 42.62, 273.08°)
OKLaboklab(54.94% -0.0409 -0.1212)
OKLCHoklch(54.94% 0.128 251.3)
XYZxyz(16.1713, 16.5961, 48.2406)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74B9 #B9742F
analogous
#2FB9B9 #2F74B9 #2F2FB9
triadic
#2F74B9 #B92F74 #74B92F
tetradic
#2F74B9 #B92FB9 #B9742F #2FB92F
square
#2F74B9 #B92FB9 #B9742F #2FB92F
split-complementary
#2F74B9 #B92F2F #B9B92F
monochromatic
#163757 #235588 #2F74B9 #5293D3 #83B1DF

Accessibility & contrast

On white

4.86
#2F74B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2F74B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74B9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74B9#FFFFFF#000000##FFFFFF
##2F74B91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5478BC
Deuteranopia (green-blind)
#3F6BB8
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f74b9;
/* rgb */ color: rgb(47, 116, 185);
/* oklch */ color: oklch(54.9% 0.128 251.3);
Tailwind
colors: {
  custom: {
    50: '#7a9bce',
    500: '#2f74b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f74b9;
$custom-light: #7a9bce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74b9",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 185
  },
  "hsl": {
    "h": 210,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.12794,
    "h": 251.3
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#2F74B9
secondary
#C9A27B
accent
#9445E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74B9

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

Preview Lab → · Contrast checker → · Palette generator →

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