#2F72B8#2F72B8

#2F72B8 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.4% C 0.129 H 252.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F72B8
RGBrgb(47, 114, 184)
HSLhsl(211, 59%, 45%)
HSVhsv(211, 74%, 72%)
CMYKcmyk(74.5%, 38%, 0%, 27.8%)
CIE-LABlab(47.10, 3.15, -43.00)
CIE-LCHlch(47.10, 43.12, 274.19°)
OKLaboklab(54.42% -0.0393 -0.1225)
OKLCHoklch(54.42% 0.129 252.2)
XYZxyz(15.8381, 16.0979, 47.6106)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72B8 #B8752F
analogous
#2FB6B8 #2F72B8 #312FB8
triadic
#2F72B8 #B82F72 #72B82F
tetradic
#2F72B8 #B82FB6 #B8752F #2FB831
square
#2F72B8 #B82FB6 #B8752F #2FB831
split-complementary
#2F72B8 #B8312F #B6B82F
monochromatic
#163657 #235487 #2F72B8 #5291D3 #82B0DF

Accessibility & contrast

On white

4.98
#2F72B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F72B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F72B8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F72B8#FFFFFF#000000##FFFFFF
##2F72B81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5177BB
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f72b8;
/* rgb */ color: rgb(47, 114, 184);
/* oklch */ color: oklch(54.4% 0.129 252.2);
Tailwind
colors: {
  custom: {
    50: '#7a9ace',
    500: '#2f72b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f72b8;
$custom-light: #7a9ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72b8",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 184
  },
  "hsl": {
    "h": 210.657,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.12871,
    "h": 252.2
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#2F72B8
secondary
#C8A27B
accent
#9645E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F72B8

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

Preview Lab → · Contrast checker → · Palette generator →

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