#2A7CA3#2A7CA3

#2A7CA3 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.5% C 0.098 H 233.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7CA3
RGBrgb(42, 124, 163)
HSLhsl(199, 59%, 40%)
HSVhsv(199, 74%, 64%)
CMYKcmyk(74.2%, 23.9%, 0%, 36.1%)
CIE-LABlab(48.95, -11.12, -27.91)
CIE-LCHlch(48.95, 30.04, 248.27°)
OKLaboklab(55.5% -0.0584 -0.0785)
OKLCHoklch(55.5% 0.098 233.4)
XYZxyz(14.7707, 17.5502, 37.2523)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CA3 #A3512A
analogous
#2AA38D #2A7CA3 #2A3FA3
triadic
#2A7CA3 #A32A7C #7CA32A
tetradic
#2A7CA3 #8D2AA3 #A3512A #3FA32A
square
#2A7CA3 #8D2AA3 #A3512A #3FA32A
split-complementary
#2A7CA3 #A32A3F #A38D2A
monochromatic
#113242 #1D5772 #2A7CA3 #3D9FCD #6EB7DA

Accessibility & contrast

On white

4.66
#2A7CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2A7CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7CA3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CA3#FFFFFF#000000##FFFFFF
##2A7CA31.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697BA5
Deuteranopia (green-blind)
#586FA2
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ca3;
/* rgb */ color: rgb(42, 124, 163);
/* oklch */ color: oklch(55.5% 0.098 233.4);
Tailwind
colors: {
  custom: {
    50: '#75a1be',
    500: '#2a7ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ca3;
$custom-light: #75a1be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ca3",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 163
  },
  "hsl": {
    "h": 199.339,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55495,
    "c": 0.09784,
    "h": 233.4
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#2A7CA3
secondary
#C08568
accent
#7846E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #2A7CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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