#2F74B5#2F74B5

#2F74B5 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.123 H 250.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F74B5
RGBrgb(47, 116, 181)
HSLhsl(209, 59%, 45%)
HSVhsv(209, 74%, 71%)
CMYKcmyk(74%, 35.9%, 0%, 29%)
CIE-LABlab(47.53, 0.81, -40.58)
CIE-LCHlch(47.53, 40.59, 271.15°)
OKLaboklab(54.7% -0.042 -0.1154)
OKLCHoklch(54.7% 0.123 250)
XYZxyz(15.7550, 16.4295, 46.0480)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74B5 #B5702F
analogous
#2FB5B3 #2F74B5 #2F31B5
triadic
#2F74B5 #B52F74 #74B52F
tetradic
#2F74B5 #B32FB5 #B5702F #31B52F
square
#2F74B5 #B32FB5 #B5702F #31B52F
split-complementary
#2F74B5 #B52F31 #B5B32F
monochromatic
#163654 #225584 #2F74B5 #5093D1 #80B1DE

Accessibility & contrast

On white

4.90
#2F74B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F74B5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74B5#FFFFFF#000000##FFFFFF
##2F74B51.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5678B8
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f74b5;
/* rgb */ color: rgb(47, 116, 181);
/* oklch */ color: oklch(54.7% 0.123 250.0);
Tailwind
colors: {
  custom: {
    50: '#799bcb',
    500: '#2f74b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f74b5;
$custom-light: #799bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74b5",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 181
  },
  "hsl": {
    "h": 209.104,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.12283,
    "h": 250
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#2F74B5
secondary
#C79F79
accent
#9246E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74B5

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

Preview Lab → · Contrast checker → · Palette generator →

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