#2F98AB#2F98AB

#2F98AB is a light, moderate teal. Relative luminance 0.260; OKLCH L 62.9% C 0.096 H 212.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2F98AB
RGBrgb(47, 152, 171)
HSLhsl(189, 57%, 43%)
HSVhsv(189, 73%, 67%)
CMYKcmyk(72.5%, 11.1%, 0%, 32.9%)
CIE-LABlab(58.04, -22.98, -18.51)
CIE-LCHlch(58.04, 29.51, 218.86°)
OKLaboklab(62.92% -0.0814 -0.0515)
OKLCHoklch(62.92% 0.096 212.4)
XYZxyz(19.7481, 25.9988, 42.4977)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F98AB #AB422F
analogous
#2FAB80 #2F98AB #2F5AAB
triadic
#2F98AB #AB2F98 #98AB2F
tetradic
#2F98AB #802FAB #AB422F #5AAB2F
square
#2F98AB #802FAB #AB422F #5AAB2F
split-complementary
#2F98AB #AB2F5A #AB802F
monochromatic
#15434B #226D7B #2F98AB #4AB9CD #7ACCDA

Accessibility & contrast

On white

3.39
#2F98AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#2F98AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F98AB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F98AB#FFFFFF#000000##000000
##2F98AB1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8993AC
Deuteranopia (green-blind)
#7886AB
Tritanopia (blue-blind)
#00A09E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2f98ab;
/* rgb */ color: rgb(47, 152, 171);
/* oklch */ color: oklch(62.9% 0.096 212.4);
Tailwind
colors: {
  custom: {
    50: '#7ab6c4',
    500: '#2f98ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f98ab;
$custom-light: #7ab6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f98ab",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 171
  },
  "hsl": {
    "h": 189.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62922,
    "c": 0.09631,
    "h": 212.4
  },
  "luminance": 0.26001
}

Semantic roles & 50–950 ramp

primary
#2F98AB
secondary
#C37F73
accent
#5F48E0
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2F98AB

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

Preview Lab → · Contrast checker → · Palette generator →

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