#2F74AB#2F74AB

#2F74AB is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.1% C 0.110 H 246.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F74AB
RGBrgb(47, 116, 171)
HSLhsl(207, 57%, 43%)
HSVhsv(207, 73%, 67%)
CMYKcmyk(72.5%, 32.2%, 0%, 32.9%)
CIE-LABlab(47.02, -2.85, -35.58)
CIE-LCHlch(47.02, 35.69, 265.43°)
OKLaboklab(54.13% -0.0449 -0.1008)
OKLCHoklch(54.13% 0.11 246)
XYZxyz(14.7656, 16.0337, 40.8368)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74AB #AB662F
analogous
#2FABA4 #2F74AB #2F36AB
triadic
#2F74AB #AB2F74 #74AB2F
tetradic
#2F74AB #A42FAB #AB662F #36AB2F
square
#2F74AB #A42FAB #AB662F #36AB2F
split-complementary
#2F74AB #AB2F36 #ABA42F
monochromatic
#15334B #22537B #2F74AB #4A93CD #7AB0DA

Accessibility & contrast

On white

4.99
#2F74AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2F74AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74AB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74AB#FFFFFF#000000##FFFFFF
##2F74AB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f74ab;
/* rgb */ color: rgb(47, 116, 171);
/* oklch */ color: oklch(54.1% 0.110 246.0);
Tailwind
colors: {
  custom: {
    50: '#779bc4',
    500: '#2f74ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f74ab;
$custom-light: #779bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74ab",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 206.613,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.11034,
    "h": 246
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#2F74AB
secondary
#C39673
accent
#8B48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F74AB

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

Preview Lab → · Contrast checker → · Palette generator →

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