#2A7BAA#2A7BAA

#2A7BAA is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.6% C 0.106 H 238.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7BAA
RGBrgb(42, 123, 170)
HSLhsl(202, 60%, 42%)
HSVhsv(202, 75%, 67%)
CMYKcmyk(75.3%, 27.6%, 0%, 33.3%)
CIE-LABlab(48.96, -8.05, -31.97)
CIE-LCHlch(48.96, 32.96, 255.87°)
OKLaboklab(55.61% -0.0549 -0.0903)
OKLCHoklch(55.61% 0.106 238.7)
XYZxyz(15.2906, 17.5587, 40.6057)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BAA #AA592A
analogous
#2AAA99 #2A7BAA #2A3BAA
triadic
#2A7BAA #AA2A7B #7BAA2A
tetradic
#2A7BAA #992AAA #AA592A #3BAA2A
square
#2A7BAA #992AAA #AA592A #3BAA2A
split-complementary
#2A7BAA #AA2A3B #AA992A
monochromatic
#123448 #1E5779 #2A7BAA #419CD0 #72B5DC

Accessibility & contrast

On white

4.65
#2A7BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7BAA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BAA#FFFFFF#000000##FFFFFF
##2A7BAA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAC
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7baa;
/* rgb */ color: rgb(42, 123, 170);
/* oklch */ color: oklch(55.6% 0.106 238.7);
Tailwind
colors: {
  custom: {
    50: '#76a1c3',
    500: '#2a7baa',
    950: '#000000',
  },
}
SCSS
$custom: #2a7baa;
$custom-light: #76a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7baa",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 170
  },
  "hsl": {
    "h": 202.031,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.10566,
    "h": 238.7
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#2A7BAA
secondary
#C38C6C
accent
#7F44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A7BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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