#2F72B7#2F72B7

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

Color values

HEX#2F72B7
RGBrgb(47, 114, 183)
HSLhsl(210, 59%, 45%)
HSVhsv(210, 74%, 72%)
CMYKcmyk(74.3%, 37.7%, 0%, 28.2%)
CIE-LABlab(47.05, 2.78, -42.51)
CIE-LCHlch(47.05, 42.60, 273.74°)
OKLaboklab(54.36% -0.0396 -0.1211)
OKLCHoklch(54.36% 0.127 251.9)
XYZxyz(15.7336, 16.0561, 47.0605)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72B7 #B7742F
analogous
#2FB6B7 #2F72B7 #302FB7
triadic
#2F72B7 #B72F72 #72B72F
tetradic
#2F72B7 #B72FB6 #B7742F #2FB730
square
#2F72B7 #B72FB6 #B7742F #2FB730
split-complementary
#2F72B7 #B7302F #B6B72F
monochromatic
#163556 #225486 #2F72B7 #5191D2 #82B0DF

Accessibility & contrast

On white

4.99
#2F72B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2F72B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F72B7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F72B7#FFFFFF#000000##FFFFFF
##2F72B71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5276BA
Deuteranopia (green-blind)
#3D6AB6
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f72b7;
/* rgb */ color: rgb(47, 114, 183);
/* oklch */ color: oklch(54.4% 0.127 251.9);
Tailwind
colors: {
  custom: {
    50: '#7a9acd',
    500: '#2f72b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f72b7;
$custom-light: #7a9acd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72b7",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 183
  },
  "hsl": {
    "h": 210.441,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.12741,
    "h": 251.9
  },
  "luminance": 0.16058
}

Semantic roles & 50–950 ramp

primary
#2F72B7
secondary
#C8A17A
accent
#9545E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F72B7

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

Preview Lab → · Contrast checker → · Palette generator →

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