#2F74AE#2F74AE

#2F74AE is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.3% C 0.114 H 247.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F74AE
RGBrgb(47, 116, 174)
HSLhsl(207, 57%, 43%)
HSVhsv(207, 73%, 68%)
CMYKcmyk(73%, 33.3%, 0%, 31.8%)
CIE-LABlab(47.17, -1.75, -37.09)
CIE-LCHlch(47.17, 37.13, 267.29°)
OKLaboklab(54.3% -0.044 -0.1052)
OKLCHoklch(54.3% 0.114 247.3)
XYZxyz(15.0548, 16.1494, 42.3599)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74AE #AE692F
analogous
#2FAEA8 #2F74AE #2F34AE
triadic
#2F74AE #AE2F74 #74AE2F
tetradic
#2F74AE #A82FAE #AE692F #34AE2F
square
#2F74AE #A82FAE #AE692F #34AE2F
split-complementary
#2F74AE #AE2F34 #AEA82F
monochromatic
#15344E #22547E #2F74AE #4C93CF #7CB0DC

Accessibility & contrast

On white

4.96
#2F74AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F74AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74AE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74AE#FFFFFF#000000##FFFFFF
##2F74AE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76B0
Deuteranopia (green-blind)
#486AAD
Tritanopia (blue-blind)
#008289
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f74ae;
/* rgb */ color: rgb(47, 116, 174);
/* oklch */ color: oklch(54.3% 0.114 247.3);
Tailwind
colors: {
  custom: {
    50: '#789bc6',
    500: '#2f74ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f74ae;
$custom-light: #789bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74ae",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 174
  },
  "hsl": {
    "h": 207.402,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.543,
    "c": 0.11404,
    "h": 247.3
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#2F74AE
secondary
#C49975
accent
#8D47E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74AE

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

Preview Lab → · Contrast checker → · Palette generator →

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