#2F74A3#2F74A3

#2F74A3 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.7% C 0.101 H 242.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F74A3
RGBrgb(47, 116, 163)
HSLhsl(204, 55%, 41%)
HSVhsv(204, 71%, 64%)
CMYKcmyk(71.2%, 28.8%, 0%, 36.1%)
CIE-LABlab(46.63, -5.73, -31.51)
CIE-LCHlch(46.63, 32.03, 259.69°)
OKLaboklab(53.7% -0.0474 -0.089)
OKLCHoklch(53.7% 0.101 242)
XYZxyz(14.0260, 15.7379, 36.9418)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74A3 #A35E2F
analogous
#2FA398 #2F74A3 #2F3AA3
triadic
#2F74A3 #A32F74 #74A32F
tetradic
#2F74A3 #982FA3 #A35E2F #3AA32F
square
#2F74A3 #982FA3 #A35E2F #3AA32F
split-complementary
#2F74A3 #A32F3A #A3982F
monochromatic
#143044 #215273 #2F74A3 #4694CA #75B0D7

Accessibility & contrast

On white

5.06
#2F74A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2F74A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74A3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74A3#FFFFFF#000000##FFFFFF
##2F74A31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A5
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#008084
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f74a3;
/* rgb */ color: rgb(47, 116, 163);
/* oklch */ color: oklch(53.7% 0.101 242.0);
Tailwind
colors: {
  custom: {
    50: '#769bbe',
    500: '#2f74a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f74a3;
$custom-light: #769bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74a3",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 163
  },
  "hsl": {
    "h": 204.31,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.10081,
    "h": 242
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#2F74A3
secondary
#BF8F6F
accent
#8649DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F74A3

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

Preview Lab → · Contrast checker → · Palette generator →

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