#2F74AF#2F74AF

#2F74AF is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.4% C 0.115 H 247.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F74AF
RGBrgb(47, 116, 175)
HSLhsl(208, 58%, 44%)
HSVhsv(208, 73%, 69%)
CMYKcmyk(73.1%, 33.7%, 0%, 31.4%)
CIE-LABlab(47.22, -1.39, -37.59)
CIE-LCHlch(47.22, 37.62, 267.88°)
OKLaboklab(54.36% -0.0437 -0.1067)
OKLCHoklch(54.36% 0.115 247.7)
XYZxyz(15.1526, 16.1886, 42.8752)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74AF #AF6A2F
analogous
#2FAFAA #2F74AF #2F34AF
triadic
#2F74AF #AF2F74 #74AF2F
tetradic
#2F74AF #AA2FAF #AF6A2F #34AF2F
square
#2F74AF #AA2FAF #AF6A2F #34AF2F
split-complementary
#2F74AF #AF2F34 #AFAA2F
monochromatic
#15344F #22547F #2F74AF #4C93CF #7CB0DC

Accessibility & contrast

On white

4.96
#2F74AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2F74AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74AF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74AF#FFFFFF#000000##FFFFFF
##2F74AF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5977B2
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#008289
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f74af;
/* rgb */ color: rgb(47, 116, 175);
/* oklch */ color: oklch(54.4% 0.115 247.7);
Tailwind
colors: {
  custom: {
    50: '#789bc7',
    500: '#2f74af',
    950: '#000000',
  },
}
SCSS
$custom: #2f74af;
$custom-light: #789bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74af",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 207.656,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.11528,
    "h": 247.7
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#2F74AF
secondary
#C49A75
accent
#8E47E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F74AF

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

Preview Lab → · Contrast checker → · Palette generator →

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