#2F74B2#2F74B2

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

Color values

HEX#2F74B2
RGBrgb(47, 116, 178)
HSLhsl(208, 58%, 44%)
HSVhsv(208, 74%, 70%)
CMYKcmyk(73.6%, 34.8%, 0%, 30.2%)
CIE-LABlab(47.38, -0.29, -39.09)
CIE-LCHlch(47.38, 39.09, 269.57°)
OKLaboklab(54.53% -0.0428 -0.1111)
OKLCHoklch(54.53% 0.119 248.9)
XYZxyz(15.4505, 16.3077, 44.4443)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74B2 #B26D2F
analogous
#2FB2AF #2F74B2 #2F33B2
triadic
#2F74B2 #B22F74 #74B22F
tetradic
#2F74B2 #AF2FB2 #B26D2F #33B22F
square
#2F74B2 #AF2FB2 #B26D2F #33B22F
split-complementary
#2F74B2 #B22F33 #B2AF2F
monochromatic
#153551 #225482 #2F74B2 #4E93D0 #7EB0DD

Accessibility & contrast

On white

4.93
#2F74B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2F74B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74B2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74B2#FFFFFF#000000##FFFFFF
##2F74B21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f74b2;
/* rgb */ color: rgb(47, 116, 178);
/* oklch */ color: oklch(54.5% 0.119 248.9);
Tailwind
colors: {
  custom: {
    50: '#799bc9',
    500: '#2f74b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f74b2;
$custom-light: #799bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74b2",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 208.397,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.11903,
    "h": 248.9
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#2F74B2
secondary
#C69C77
accent
#9046E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74B2

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

Preview Lab → · Contrast checker → · Palette generator →

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