#2F74BC#2F74BC

#2F74BC is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.1% C 0.132 H 252.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F74BC
RGBrgb(47, 116, 188)
HSLhsl(211, 60%, 46%)
HSVhsv(211, 75%, 74%)
CMYKcmyk(75%, 38.3%, 0%, 26.3%)
CIE-LABlab(47.91, 3.40, -44.03)
CIE-LCHlch(47.91, 44.16, 274.41°)
OKLaboklab(55.12% -0.0402 -0.1255)
OKLCHoklch(55.12% 0.132 252.2)
XYZxyz(16.4914, 16.7241, 49.9261)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74BC #BC772F
analogous
#2FBABC #2F74BC #302FBC
triadic
#2F74BC #BC2F74 #74BC2F
tetradic
#2F74BC #BC2FBA #BC772F #2FBC30
square
#2F74BC #BC2FBA #BC772F #2FBC30
split-complementary
#2F74BC #BC302F #BABC2F
monochromatic
#17385A #23568B #2F74BC #5493D4 #85B2E0

Accessibility & contrast

On white

4.83
#2F74BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F74BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74BC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74BC#FFFFFF#000000##FFFFFF
##2F74BC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f74bc;
/* rgb */ color: rgb(47, 116, 188);
/* oklch */ color: oklch(55.1% 0.132 252.2);
Tailwind
colors: {
  custom: {
    50: '#7b9bd0',
    500: '#2f74bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f74bc;
$custom-light: #7b9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74bc",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 210.638,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55123,
    "c": 0.13181,
    "h": 252.2
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#2F74BC
secondary
#CAA47D
accent
#9645E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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