#2F72B1#2F72B1

#2F72B1 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.0% C 0.120 H 249.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F72B1
RGBrgb(47, 114, 177)
HSLhsl(209, 58%, 44%)
HSVhsv(209, 73%, 69%)
CMYKcmyk(73.4%, 35.6%, 0%, 30.6%)
CIE-LABlab(46.73, 0.56, -39.54)
CIE-LCHlch(46.73, 39.54, 270.81°)
OKLaboklab(54% -0.0412 -0.1124)
OKLCHoklch(54% 0.12 249.9)
XYZxyz(15.1224, 15.8116, 43.8414)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72B1 #B16E2F
analogous
#2FB1AF #2F72B1 #2F31B1
triadic
#2F72B1 #B12F72 #72B12F
tetradic
#2F72B1 #AF2FB1 #B16E2F #31B12F
square
#2F72B1 #AF2FB1 #B16E2F #31B12F
split-complementary
#2F72B1 #B12F31 #B1AF2F
monochromatic
#153450 #225381 #2F72B1 #4D91D0 #7EAFDD

Accessibility & contrast

On white

5.04
#2F72B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F72B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F72B1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F72B1#FFFFFF#000000##FFFFFF
##2F72B11.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5575B4
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f72b1;
/* rgb */ color: rgb(47, 114, 177);
/* oklch */ color: oklch(54.0% 0.120 249.9);
Tailwind
colors: {
  custom: {
    50: '#789ac8',
    500: '#2f72b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f72b1;
$custom-light: #789ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72b1",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 177
  },
  "hsl": {
    "h": 209.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.11971,
    "h": 249.9
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#2F72B1
secondary
#C59D76
accent
#9247E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F72B1

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

Preview Lab → · Contrast checker → · Palette generator →

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