#2F74A2#2F74A2

#2F74A2 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.6% C 0.100 H 241.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F74A2
RGBrgb(47, 116, 162)
HSLhsl(204, 55%, 41%)
HSVhsv(204, 71%, 64%)
CMYKcmyk(71%, 28.4%, 0%, 36.5%)
CIE-LABlab(46.58, -6.09, -31.00)
CIE-LCHlch(46.58, 31.59, 258.89°)
OKLaboklab(53.64% -0.0477 -0.0875)
OKLCHoklch(53.64% 0.1 241.4)
XYZxyz(13.9368, 15.7022, 36.4717)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74A2 #A25D2F
analogous
#2FA296 #2F74A2 #2F3AA2
triadic
#2F74A2 #A22F74 #74A22F
tetradic
#2F74A2 #962FA2 #A25D2F #3AA22F
square
#2F74A2 #962FA2 #A25D2F #3AA22F
split-complementary
#2F74A2 #A22F3A #A2962F
monochromatic
#133043 #215273 #2F74A2 #4594C9 #75B0D7

Accessibility & contrast

On white

5.07
#2F74A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F74A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74A2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74A2#FFFFFF#000000##FFFFFF
##2F74A21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F75A4
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f74a2;
/* rgb */ color: rgb(47, 116, 162);
/* oklch */ color: oklch(53.6% 0.100 241.4);
Tailwind
colors: {
  custom: {
    50: '#769bbd',
    500: '#2f74a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f74a2;
$custom-light: #769bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74a2",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 204,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.09966,
    "h": 241.4
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#2F74A2
secondary
#BF8E6E
accent
#8549DE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2F74A2

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

Preview Lab → · Contrast checker → · Palette generator →

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