#2F7CA1#2F7CA1

#2F7CA1 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.5% C 0.094 H 233.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F7CA1
RGBrgb(47, 124, 161)
HSLhsl(199, 55%, 41%)
HSVhsv(199, 71%, 63%)
CMYKcmyk(70.8%, 23%, 0%, 36.9%)
CIE-LABlab(49.00, -11.10, -26.65)
CIE-LCHlch(49.00, 28.87, 247.39°)
OKLaboklab(55.55% -0.0564 -0.0748)
OKLCHoklch(55.55% 0.094 233)
XYZxyz(14.8104, 17.5912, 36.3262)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CA1 #A1542F
analogous
#2FA18D #2F7CA1 #2F43A1
triadic
#2F7CA1 #A12F7C #7CA12F
tetradic
#2F7CA1 #8D2FA1 #A1542F #43A12F
square
#2F7CA1 #8D2FA1 #A1542F #43A12F
split-complementary
#2F7CA1 #A12F43 #A18D2F
monochromatic
#133342 #215872 #2F7CA1 #459EC9 #74B6D6

Accessibility & contrast

On white

4.65
#2F7CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2F7CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7CA1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CA1#FFFFFF#000000##FFFFFF
##2F7CA11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA3
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7ca1;
/* rgb */ color: rgb(47, 124, 161);
/* oklch */ color: oklch(55.5% 0.094 233.0);
Tailwind
colors: {
  custom: {
    50: '#76a1bd',
    500: '#2f7ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ca1;
$custom-light: #76a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ca1",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 161
  },
  "hsl": {
    "h": 199.474,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.0937,
    "h": 233
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#2F7CA1
secondary
#BE886E
accent
#7A4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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