#2A7BA1#2A7BA1

#2A7BA1 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.096 H 233.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A7BA1
RGBrgb(42, 123, 161)
HSLhsl(199, 59%, 40%)
HSVhsv(199, 74%, 63%)
CMYKcmyk(73.9%, 23.6%, 0%, 36.9%)
CIE-LABlab(48.55, -11.25, -27.36)
CIE-LCHlch(48.55, 29.58, 247.64°)
OKLaboklab(55.15% -0.0581 -0.0769)
OKLCHoklch(55.15% 0.096 233)
XYZxyz(14.4683, 17.2297, 36.2744)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BA1 #A1502A
analogous
#2AA18C #2A7BA1 #2A3FA1
triadic
#2A7BA1 #A12A7B #7BA12A
tetradic
#2A7BA1 #8C2AA1 #A1502A #3FA12A
square
#2A7BA1 #8C2AA1 #A1502A #3FA12A
split-complementary
#2A7BA1 #A12A3F #A18C2A
monochromatic
#113140 #1D5670 #2A7BA1 #3C9ECC #6DB6D9

Accessibility & contrast

On white

4.72
#2A7BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2A7BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7BA1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BA1#FFFFFF#000000##FFFFFF
##2A7BA11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA3
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7ba1;
/* rgb */ color: rgb(42, 123, 161);
/* oklch */ color: oklch(55.1% 0.096 233.0);
Tailwind
colors: {
  custom: {
    50: '#74a1bd',
    500: '#2a7ba1',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ba1;
$custom-light: #74a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ba1",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 161
  },
  "hsl": {
    "h": 199.16,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.0964,
    "h": 233
  },
  "luminance": 0.17231
}

Semantic roles & 50–950 ramp

primary
#2A7BA1
secondary
#C08367
accent
#7846E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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