#2A7FA3#2A7FA3

#2A7FA3 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.096 H 230.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7FA3
RGBrgb(42, 127, 163)
HSLhsl(198, 59%, 40%)
HSVhsv(198, 74%, 64%)
CMYKcmyk(74.2%, 22.1%, 0%, 36.1%)
CIE-LABlab(49.87, -12.83, -26.46)
CIE-LCHlch(49.87, 29.41, 244.14°)
OKLaboklab(56.24% -0.0614 -0.0743)
OKLCHoklch(56.24% 0.096 230.4)
XYZxyz(15.1524, 18.3136, 37.3795)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7FA3 #A34E2A
analogous
#2AA38A #2A7FA3 #2A43A3
triadic
#2A7FA3 #A32A7F #7FA32A
tetradic
#2A7FA3 #8A2AA3 #A34E2A #43A32A
square
#2A7FA3 #8A2AA3 #A34E2A #43A32A
split-complementary
#2A7FA3 #A32A43 #A38A2A
monochromatic
#113342 #1D5972 #2A7FA3 #3DA2CD #6EBADA

Accessibility & contrast

On white

4.50
#2A7FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2A7FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7FA3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7FA3#FFFFFF#000000##000000
##2A7FA31.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA5
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7fa3;
/* rgb */ color: rgb(42, 127, 163);
/* oklch */ color: oklch(56.2% 0.096 230.4);
Tailwind
colors: {
  custom: {
    50: '#75a4be',
    500: '#2a7fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2a7fa3;
$custom-light: #75a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7fa3",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 197.851,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.09642,
    "h": 230.4
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#2A7FA3
secondary
#C08368
accent
#7446E2
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2A7FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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