#2F74A9#2F74A9

#2F74A9 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.0% C 0.108 H 245.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F74A9
RGBrgb(47, 116, 169)
HSLhsl(206, 56%, 42%)
HSVhsv(206, 72%, 66%)
CMYKcmyk(72.2%, 31.4%, 0%, 33.7%)
CIE-LABlab(46.92, -3.57, -34.57)
CIE-LCHlch(46.92, 34.75, 264.10°)
OKLaboklab(54.02% -0.0455 -0.0979)
OKLCHoklch(54.02% 0.108 245.1)
XYZxyz(14.5764, 15.9581, 39.8404)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74A9 #A9642F
analogous
#2FA9A1 #2F74A9 #2F37A9
triadic
#2F74A9 #A92F74 #74A92F
tetradic
#2F74A9 #A12FA9 #A9642F #37A92F
square
#2F74A9 #A12FA9 #A9642F #37A92F
split-complementary
#2F74A9 #A92F37 #A9A12F
monochromatic
#143249 #225379 #2F74A9 #4993CC #79B0DA

Accessibility & contrast

On white

5.01
#2F74A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2F74A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74A9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74A9#FFFFFF#000000##FFFFFF
##2F74A91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AB
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f74a9;
/* rgb */ color: rgb(47, 116, 169);
/* oklch */ color: oklch(54.0% 0.108 245.1);
Tailwind
colors: {
  custom: {
    50: '#779bc3',
    500: '#2f74a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f74a9;
$custom-light: #779bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74a9",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 169
  },
  "hsl": {
    "h": 206.066,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.10791,
    "h": 245.1
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#2F74A9
secondary
#C29572
accent
#8A48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F74A9

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

Preview Lab → · Contrast checker → · Palette generator →

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