#2F7284#2F7284

#2F7284 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.7% C 0.073 H 218.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F7284
RGBrgb(47, 114, 132)
HSLhsl(193, 47%, 35%)
HSVhsv(193, 64%, 52%)
CMYKcmyk(64.4%, 13.6%, 0%, 48.2%)
CIE-LABlab(44.67, -15.25, -16.20)
CIE-LCHlch(44.67, 22.25, 226.73°)
OKLaboklab(51.69% -0.0568 -0.045)
OKLCHoklch(51.69% 0.073 218.4)
XYZxyz(11.3528, 14.3037, 23.9879)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7284 #84412F
analogous
#2F846C #2F7284 #2F4784
triadic
#2F7284 #842F72 #72842F
tetradic
#2F7284 #6C2F84 #84412F #47842F
square
#2F7284 #6C2F84 #84412F #47842F
split-complementary
#2F7284 #842F47 #846C2F
monochromatic
#0F242A #1F4B57 #2F7284 #3F99B1 #65B3C8

Accessibility & contrast

On white

5.44
#2F7284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2F7284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7284
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7284#FFFFFF#000000##FFFFFF
##2F72841.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F85
Deuteranopia (green-blind)
#5A6684
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7284;
/* rgb */ color: rgb(47, 114, 132);
/* oklch */ color: oklch(51.7% 0.073 218.4);
Tailwind
colors: {
  custom: {
    50: '#719aa7',
    500: '#2f7284',
    950: '#000000',
  },
}
SCSS
$custom: #2f7284;
$custom-light: #719aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7284",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 132
  },
  "hsl": {
    "h": 192.706,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.07253,
    "h": 218.4
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#2F7284
secondary
#AF7060
accent
#6D51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7284

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

Preview Lab → · Contrast checker → · Palette generator →

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