#2F74B6#2F74B6

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

Color values

HEX#2F74B6
RGBrgb(47, 116, 182)
HSLhsl(209, 59%, 45%)
HSVhsv(209, 74%, 71%)
CMYKcmyk(74.2%, 36.3%, 0%, 28.6%)
CIE-LABlab(47.59, 1.18, -41.08)
CIE-LCHlch(47.59, 41.10, 271.65°)
OKLaboklab(54.76% -0.0417 -0.1169)
OKLCHoklch(54.76% 0.124 250.4)
XYZxyz(15.8580, 16.4707, 46.5903)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74B6 #B6712F
analogous
#2FB6B4 #2F74B6 #2F31B6
triadic
#2F74B6 #B62F74 #74B62F
tetradic
#2F74B6 #B42FB6 #B6712F #31B62F
square
#2F74B6 #B42FB6 #B6712F #31B62F
split-complementary
#2F74B6 #B62F31 #B6B42F
monochromatic
#163655 #225585 #2F74B6 #5093D2 #81B1DE

Accessibility & contrast

On white

4.89
#2F74B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F74B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74B6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74B6#FFFFFF#000000##FFFFFF
##2F74B61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5678B9
Deuteranopia (green-blind)
#426BB5
Tritanopia (blue-blind)
#00848C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f74b6;
/* rgb */ color: rgb(47, 116, 182);
/* oklch */ color: oklch(54.8% 0.124 250.4);
Tailwind
colors: {
  custom: {
    50: '#799bcc',
    500: '#2f74b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f74b6;
$custom-light: #799bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74b6",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 182
  },
  "hsl": {
    "h": 209.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.12411,
    "h": 250.4
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#2F74B6
secondary
#C7A079
accent
#9246E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74B6

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

Preview Lab → · Contrast checker → · Palette generator →

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