#2A7BA3#2A7BA3

#2A7BA3 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.098 H 234.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A7BA3
RGBrgb(42, 123, 163)
HSLhsl(200, 59%, 40%)
HSVhsv(200, 74%, 64%)
CMYKcmyk(74.2%, 24.5%, 0%, 36.1%)
CIE-LABlab(48.64, -10.55, -28.39)
CIE-LCHlch(48.64, 30.28, 249.62°)
OKLaboklab(55.25% -0.0574 -0.0799)
OKLCHoklch(55.25% 0.098 234.3)
XYZxyz(14.6460, 17.3008, 37.2107)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BA3 #A3522A
analogous
#2AA38F #2A7BA3 #2A3EA3
triadic
#2A7BA3 #A32A7B #7BA32A
tetradic
#2A7BA3 #8F2AA3 #A3522A #3EA32A
square
#2A7BA3 #8F2AA3 #A3522A #3EA32A
split-complementary
#2A7BA3 #A32A3E #A38F2A
monochromatic
#113242 #1D5672 #2A7BA3 #3D9DCD #6EB6DA

Accessibility & contrast

On white

4.71
#2A7BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2A7BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7BA3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BA3#FFFFFF#000000##FFFFFF
##2A7BA31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677AA5
Deuteranopia (green-blind)
#576EA2
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7ba3;
/* rgb */ color: rgb(42, 123, 163);
/* oklch */ color: oklch(55.2% 0.098 234.3);
Tailwind
colors: {
  custom: {
    50: '#75a1be',
    500: '#2a7ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ba3;
$custom-light: #75a1be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ba3",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 163
  },
  "hsl": {
    "h": 199.835,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.09837,
    "h": 234.3
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#2A7BA3
secondary
#C08568
accent
#7946E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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