#2A7CA8#2A7CA8

#2A7CA8 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.7% C 0.103 H 236.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A7CA8
RGBrgb(42, 124, 168)
HSLhsl(201, 60%, 41%)
HSVhsv(201, 75%, 66%)
CMYKcmyk(75%, 26.2%, 0%, 34.1%)
CIE-LABlab(49.17, -9.35, -30.47)
CIE-LCHlch(49.17, 31.87, 252.95°)
OKLaboklab(55.75% -0.0566 -0.0859)
OKLCHoklch(55.75% 0.103 236.6)
XYZxyz(15.2276, 17.7329, 39.6584)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CA8 #A8562A
analogous
#2AA895 #2A7CA8 #2A3DA8
triadic
#2A7CA8 #A82A7C #7CA82A
tetradic
#2A7CA8 #952AA8 #A8562A #3DA82A
square
#2A7CA8 #952AA8 #A8562A #3DA82A
split-complementary
#2A7CA8 #A82A3D #A8952A
monochromatic
#123446 #1E5877 #2A7CA8 #409DCF #71B6DB

Accessibility & contrast

On white

4.62
#2A7CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2A7CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7CA8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CA8#FFFFFF#000000##FFFFFF
##2A7CA81.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7ca8;
/* rgb */ color: rgb(42, 124, 168);
/* oklch */ color: oklch(55.7% 0.103 236.6);
Tailwind
colors: {
  custom: {
    50: '#75a1c2',
    500: '#2a7ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ca8;
$custom-light: #75a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ca8",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 200.952,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.10289,
    "h": 236.6
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#2A7CA8
secondary
#C38A6B
accent
#7C45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2A7CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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