#2F74BB#2F74BB

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

Color values

HEX#2F74BB
RGBrgb(47, 116, 187)
HSLhsl(210, 60%, 46%)
HSVhsv(210, 75%, 73%)
CMYKcmyk(74.9%, 38%, 0%, 26.7%)
CIE-LABlab(47.86, 3.03, -43.54)
CIE-LCHlch(47.86, 43.65, 273.98°)
OKLaboklab(55.06% -0.0404 -0.1241)
OKLCHoklch(55.06% 0.131 252)
XYZxyz(16.3840, 16.6811, 49.3604)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74BB #BB762F
analogous
#2FBABB #2F74BB #302FBB
triadic
#2F74BB #BB2F74 #74BB2F
tetradic
#2F74BB #BB2FBA #BB762F #2FBB30
square
#2F74BB #BB2FBA #BB762F #2FBB30
split-complementary
#2F74BB #BB302F #BABB2F
monochromatic
#163759 #23568A #2F74BB #5393D4 #84B2E0

Accessibility & contrast

On white

4.84
#2F74BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F74BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74BB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74BB#FFFFFF#000000##FFFFFF
##2F74BB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f74bb;
/* rgb */ color: rgb(47, 116, 187);
/* oklch */ color: oklch(55.1% 0.131 252.0);
Tailwind
colors: {
  custom: {
    50: '#7a9bd0',
    500: '#2f74bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f74bb;
$custom-light: #7a9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74bb",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 210.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.13052,
    "h": 252
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#2F74BB
secondary
#C9A37C
accent
#9545E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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