#2A7BA8#2A7BA8

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

Color values

HEX#2A7BA8
RGBrgb(42, 123, 168)
HSLhsl(201, 60%, 41%)
HSVhsv(201, 75%, 66%)
CMYKcmyk(75%, 26.8%, 0%, 34.1%)
CIE-LABlab(48.86, -8.77, -30.95)
CIE-LCHlch(48.86, 32.16, 254.18°)
OKLaboklab(55.5% -0.0556 -0.0873)
OKLCHoklch(55.5% 0.104 237.5)
XYZxyz(15.1029, 17.4836, 39.6169)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BA8 #A8572A
analogous
#2AA896 #2A7BA8 #2A3CA8
triadic
#2A7BA8 #A82A7B #7BA82A
tetradic
#2A7BA8 #962AA8 #A8572A #3CA82A
square
#2A7BA8 #962AA8 #A8572A #3CA82A
split-complementary
#2A7BA8 #A82A3C #A8962A
monochromatic
#123346 #1E5777 #2A7BA8 #409CCF #71B5DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7BA8#FFFFFF#000000##FFFFFF
##2A7BA81.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)
#667BAA
Deuteranopia (green-blind)
#546FA7
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ba8;
/* rgb */ color: rgb(42, 123, 168);
/* oklch */ color: oklch(55.5% 0.104 237.5);
Tailwind
colors: {
  custom: {
    50: '#75a1c2',
    500: '#2a7ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ba8;
$custom-light: #75a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ba8",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 168
  },
  "hsl": {
    "h": 201.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55504,
    "c": 0.10352,
    "h": 237.5
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#2A7BA8
secondary
#C38A6B
accent
#7D45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A7BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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