#2F96AB#2F96AB

#2F96AB is a light, moderate cyan. Relative luminance 0.254; OKLCH L 62.4% C 0.096 H 214.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2F96AB
RGBrgb(47, 150, 171)
HSLhsl(190, 57%, 43%)
HSVhsv(190, 73%, 67%)
CMYKcmyk(72.5%, 12.3%, 0%, 32.9%)
CIE-LABlab(57.42, -21.94, -19.45)
CIE-LCHlch(57.42, 29.32, 221.56°)
OKLaboklab(62.43% -0.0793 -0.0542)
OKLCHoklch(62.43% 0.096 214.3)
XYZxyz(19.4262, 25.3550, 42.3904)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F96AB #AB442F
analogous
#2FAB82 #2F96AB #2F58AB
triadic
#2F96AB #AB2F96 #96AB2F
tetradic
#2F96AB #822FAB #AB442F #58AB2F
square
#2F96AB #822FAB #AB442F #58AB2F
split-complementary
#2F96AB #AB2F58 #AB822F
monochromatic
#15424B #226C7B #2F96AB #4AB7CD #7ACADA

Accessibility & contrast

On white

3.46
#2F96AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#2F96AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F96AB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F96AB#FFFFFF#000000##000000
##2F96AB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8791AC
Deuteranopia (green-blind)
#7684AB
Tritanopia (blue-blind)
#009E9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f96ab;
/* rgb */ color: rgb(47, 150, 171);
/* oklch */ color: oklch(62.4% 0.096 214.3);
Tailwind
colors: {
  custom: {
    50: '#7ab5c4',
    500: '#2f96ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f96ab;
$custom-light: #7ab5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f96ab",
  "rgb": {
    "r": 47,
    "g": 150,
    "b": 171
  },
  "hsl": {
    "h": 190.161,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62425,
    "c": 0.09607,
    "h": 214.3
  },
  "luminance": 0.25357
}

Semantic roles & 50–950 ramp

primary
#2F96AB
secondary
#C38173
accent
#6148E0
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2F96AB

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

Preview Lab → · Contrast checker → · Palette generator →

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