#2F74A4#2F74A4

#2F74A4 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.7% C 0.102 H 242.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F74A4
RGBrgb(47, 116, 164)
HSLhsl(205, 55%, 41%)
HSVhsv(205, 71%, 64%)
CMYKcmyk(71.3%, 29.3%, 0%, 35.7%)
CIE-LABlab(46.68, -5.37, -32.02)
CIE-LCHlch(46.68, 32.47, 260.48°)
OKLaboklab(53.75% -0.0471 -0.0905)
OKLCHoklch(53.75% 0.102 242.5)
XYZxyz(14.1159, 15.7739, 37.4155)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74A4 #A45F2F
analogous
#2FA49A #2F74A4 #2F3AA4
triadic
#2F74A4 #A42F74 #74A42F
tetradic
#2F74A4 #9A2FA4 #A45F2F #3AA42F
square
#2F74A4 #9A2FA4 #A45F2F #3AA42F
split-complementary
#2F74A4 #A42F3A #A49A2F
monochromatic
#143145 #215274 #2F74A4 #4694CA #76AFD8

Accessibility & contrast

On white

5.05
#2F74A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F74A4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74A4#FFFFFF#000000##FFFFFF
##2F74A41.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A6
Deuteranopia (green-blind)
#4E6AA3
Tritanopia (blue-blind)
#008085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f74a4;
/* rgb */ color: rgb(47, 116, 164);
/* oklch */ color: oklch(53.7% 0.102 242.5);
Tailwind
colors: {
  custom: {
    50: '#769bbf',
    500: '#2f74a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f74a4;
$custom-light: #769bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74a4",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 164
  },
  "hsl": {
    "h": 204.615,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.10197,
    "h": 242.5
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F74A4

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

Preview Lab → · Contrast checker → · Palette generator →

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