#2F72AB#2F72AB

#2F72AB is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.112 H 247.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F72AB
RGBrgb(47, 114, 171)
HSLhsl(208, 57%, 43%)
HSVhsv(208, 73%, 67%)
CMYKcmyk(72.5%, 33.3%, 0%, 32.9%)
CIE-LABlab(46.42, -1.64, -36.53)
CIE-LCHlch(46.42, 36.57, 267.44°)
OKLaboklab(53.66% -0.0429 -0.1036)
OKLCHoklch(53.66% 0.112 247.5)
XYZxyz(14.5375, 15.5776, 40.7608)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72AB #AB682F
analogous
#2FABA6 #2F72AB #2F34AB
triadic
#2F72AB #AB2F72 #72AB2F
tetradic
#2F72AB #A62FAB #AB682F #34AB2F
square
#2F72AB #A62FAB #AB682F #34AB2F
split-complementary
#2F72AB #AB2F34 #ABA62F
monochromatic
#15324B #22527B #2F72AB #4A91CD #7AAEDA

Accessibility & contrast

On white

5.10
#2F72AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2F72AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F72AB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F72AB#FFFFFF#000000##FFFFFF
##2F72AB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#008086
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f72ab;
/* rgb */ color: rgb(47, 114, 171);
/* oklch */ color: oklch(53.7% 0.112 247.5);
Tailwind
colors: {
  custom: {
    50: '#779ac4',
    500: '#2f72ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f72ab;
$custom-light: #779ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72ab",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 171
  },
  "hsl": {
    "h": 207.581,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.11213,
    "h": 247.5
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#2F72AB
secondary
#C39873
accent
#8E48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F72AB

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

Preview Lab → · Contrast checker → · Palette generator →

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