#2A7BA4#2A7BA4

#2A7BA4 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.099 H 235.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A7BA4
RGBrgb(42, 123, 164)
HSLhsl(200, 59%, 40%)
HSVhsv(200, 74%, 64%)
CMYKcmyk(74.4%, 25%, 0%, 35.7%)
CIE-LABlab(48.68, -10.19, -28.90)
CIE-LCHlch(48.68, 30.65, 250.57°)
OKLaboklab(55.3% -0.057 -0.0814)
OKLCHoklch(55.3% 0.099 235)
XYZxyz(14.7360, 17.3368, 37.6845)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BA4 #A4532A
analogous
#2AA490 #2A7BA4 #2A3EA4
triadic
#2A7BA4 #A42A7B #7BA42A
tetradic
#2A7BA4 #902AA4 #A4532A #3EA42A
square
#2A7BA4 #902AA4 #A4532A #3EA42A
split-complementary
#2A7BA4 #A42A3E #A4902A
monochromatic
#113243 #1E5673 #2A7BA4 #3E9DCD #6EB6DA

Accessibility & contrast

On white

4.70
#2A7BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A7BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7BA4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BA4#FFFFFF#000000##FFFFFF
##2A7BA41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677AA6
Deuteranopia (green-blind)
#576EA3
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ba4;
/* rgb */ color: rgb(42, 123, 164);
/* oklch */ color: oklch(55.3% 0.099 235.0);
Tailwind
colors: {
  custom: {
    50: '#75a1bf',
    500: '#2a7ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ba4;
$custom-light: #75a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ba4",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 164
  },
  "hsl": {
    "h": 200.164,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.09937,
    "h": 235
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#2A7BA4
secondary
#C18669
accent
#7A45E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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