#2A7FA8#2A7FA8

#2A7FA8 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.101 H 233.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A7FA8
RGBrgb(42, 127, 168)
HSLhsl(200, 60%, 41%)
HSVhsv(200, 75%, 66%)
CMYKcmyk(75%, 24.4%, 0%, 34.1%)
CIE-LABlab(50.09, -11.07, -29.03)
CIE-LCHlch(50.09, 31.07, 249.13°)
OKLaboklab(56.48% -0.0596 -0.0817)
OKLCHoklch(56.48% 0.101 233.9)
XYZxyz(15.6093, 18.4963, 39.7857)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7FA8 #A8532A
analogous
#2AA892 #2A7FA8 #2A40A8
triadic
#2A7FA8 #A82A7F #7FA82A
tetradic
#2A7FA8 #922AA8 #A8532A #40A82A
square
#2A7FA8 #922AA8 #A8532A #40A82A
split-complementary
#2A7FA8 #A82A40 #A8922A
monochromatic
#123546 #1E5A77 #2A7FA8 #40A1CF #71B9DB

Accessibility & contrast

On white

4.47
#2A7FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2A7FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7FA8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7FA8#FFFFFF#000000##000000
##2A7FA81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAA
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7fa8;
/* rgb */ color: rgb(42, 127, 168);
/* oklch */ color: oklch(56.5% 0.101 233.9);
Tailwind
colors: {
  custom: {
    50: '#76a4c2',
    500: '#2a7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7fa8;
$custom-light: #76a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7fa8",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 199.524,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.10116,
    "h": 233.9
  },
  "luminance": 0.18498
}

Semantic roles & 50–950 ramp

primary
#2A7FA8
secondary
#C3886B
accent
#7845E3
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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