#2F74A8#2F74A8

#2F74A8 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.0% C 0.107 H 244.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F74A8
RGBrgb(47, 116, 168)
HSLhsl(206, 56%, 42%)
HSVhsv(206, 72%, 66%)
CMYKcmyk(72%, 31%, 0%, 34.1%)
CIE-LABlab(46.87, -3.93, -34.06)
CIE-LCHlch(46.87, 34.29, 263.41°)
OKLaboklab(53.97% -0.0458 -0.0964)
OKLCHoklch(53.97% 0.107 244.6)
XYZxyz(14.4829, 15.9207, 39.3479)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74A8 #A8632F
analogous
#2FA8A0 #2F74A8 #2F38A8
triadic
#2F74A8 #A82F74 #74A82F
tetradic
#2F74A8 #A02FA8 #A8632F #38A82F
square
#2F74A8 #A02FA8 #A8632F #38A82F
split-complementary
#2F74A8 #A82F38 #A8A02F
monochromatic
#143248 #225378 #2F74A8 #4893CC #78B0D9

Accessibility & contrast

On white

5.02
#2F74A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2F74A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74A8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74A8#FFFFFF#000000##FFFFFF
##2F74A81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#4C6AA7
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f74a8;
/* rgb */ color: rgb(47, 116, 168);
/* oklch */ color: oklch(54.0% 0.107 244.6);
Tailwind
colors: {
  custom: {
    50: '#779bc2',
    500: '#2f74a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f74a8;
$custom-light: #779bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74a8",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 168
  },
  "hsl": {
    "h": 205.785,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.10671,
    "h": 244.6
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#2F74A8
secondary
#C19471
accent
#8948E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F74A8

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

Preview Lab → · Contrast checker → · Palette generator →

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