#2F74A5#2F74A5

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

Color values

HEX#2F74A5
RGBrgb(47, 116, 165)
HSLhsl(205, 56%, 42%)
HSVhsv(205, 72%, 65%)
CMYKcmyk(71.5%, 29.7%, 0%, 35.3%)
CIE-LABlab(46.72, -5.01, -32.53)
CIE-LCHlch(46.72, 32.92, 261.24°)
OKLaboklab(53.8% -0.0467 -0.0919)
OKLCHoklch(53.8% 0.103 243.1)
XYZxyz(14.2066, 15.8102, 37.8930)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74A5 #A5602F
analogous
#2FA59B #2F74A5 #2F39A5
triadic
#2F74A5 #A52F74 #74A52F
tetradic
#2F74A5 #9B2FA5 #A5602F #39A52F
square
#2F74A5 #9B2FA5 #A5602F #39A52F
split-complementary
#2F74A5 #A52F39 #A59B2F
monochromatic
#143146 #215375 #2F74A5 #4794CB #76AFD8

Accessibility & contrast

On white

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

On black

4.16
#2F74A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F74A5#FFFFFF#000000##FFFFFF
##2F74A51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f74a5;
/* rgb */ color: rgb(47, 116, 165);
/* oklch */ color: oklch(53.8% 0.103 243.1);
Tailwind
colors: {
  custom: {
    50: '#769bc0',
    500: '#2f74a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f74a5;
$custom-light: #769bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74a5",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 165
  },
  "hsl": {
    "h": 204.915,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.10315,
    "h": 243.1
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#2F74A5
secondary
#C09170
accent
#8749DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F74A5

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

Preview Lab → · Contrast checker → · Palette generator →

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