#2F74B1#2F74B1

#2F74B1 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.5% C 0.118 H 248.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2F74B1
RGBrgb(47, 116, 177)
HSLhsl(208, 58%, 44%)
HSVhsv(208, 73%, 69%)
CMYKcmyk(73.4%, 34.5%, 0%, 30.6%)
CIE-LABlab(47.32, -0.66, -38.59)
CIE-LCHlch(47.32, 38.60, 269.02°)
OKLaboklab(54.47% -0.0431 -0.1096)
OKLCHoklch(54.47% 0.118 248.5)
XYZxyz(15.3505, 16.2677, 43.9174)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74B1 #B16C2F
analogous
#2FB1AD #2F74B1 #2F33B1
triadic
#2F74B1 #B12F74 #74B12F
tetradic
#2F74B1 #AD2FB1 #B16C2F #33B12F
square
#2F74B1 #AD2FB1 #B16C2F #33B12F
split-complementary
#2F74B1 #B12F33 #B1AD2F
monochromatic
#153550 #225481 #2F74B1 #4D93D0 #7EB0DD

Accessibility & contrast

On white

4.94
#2F74B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2F74B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74B1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74B1#FFFFFF#000000##FFFFFF
##2F74B11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B4
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#00838A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f74b1;
/* rgb */ color: rgb(47, 116, 177);
/* oklch */ color: oklch(54.5% 0.118 248.5);
Tailwind
colors: {
  custom: {
    50: '#789bc8',
    500: '#2f74b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f74b1;
$custom-light: #789bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74b1",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 177
  },
  "hsl": {
    "h": 208.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.11777,
    "h": 248.5
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#2F74B1
secondary
#C59B76
accent
#8F47E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74B1

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

Preview Lab → · Contrast checker → · Palette generator →

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