#2A7AAF#2A7AAF

#2A7AAF is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.112 H 242.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2A7AAF
RGBrgb(42, 122, 175)
HSLhsl(204, 61%, 43%)
HSVhsv(204, 76%, 69%)
CMYKcmyk(76%, 30.3%, 0%, 31.4%)
CIE-LABlab(48.89, -5.65, -34.97)
CIE-LCHlch(48.89, 35.43, 260.82°)
OKLaboklab(55.63% -0.0523 -0.099)
OKLCHoklch(55.63% 0.112 242.2)
XYZxyz(15.6492, 17.5046, 43.1031)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AAF #AF5F2A
analogous
#2AAFA2 #2A7AAF #2A37AF
triadic
#2A7AAF #AF2A7A #7AAF2A
tetradic
#2A7AAF #A22AAF #AF5F2A #37AF2A
square
#2A7AAF #A22AAF #AF5F2A #37AF2A
split-complementary
#2A7AAF #AF2A37 #AFA22A
monochromatic
#12354C #1E587E #2A7AAF #449AD2 #75B4DE

Accessibility & contrast

On white

4.67
#2A7AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2A7AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AAF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AAF#FFFFFF#000000##FFFFFF
##2A7AAF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617BB1
Deuteranopia (green-blind)
#4F6FAE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7aaf;
/* rgb */ color: rgb(42, 122, 175);
/* oklch */ color: oklch(55.6% 0.112 242.2);
Tailwind
colors: {
  custom: {
    50: '#77a0c7',
    500: '#2a7aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aaf;
$custom-light: #77a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aaf",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 203.91,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.11199,
    "h": 242.2
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#2A7AAF
secondary
#C6926F
accent
#8443E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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