#2A7BA9#2A7BA9

#2A7BA9 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.105 H 238.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7BA9
RGBrgb(42, 123, 169)
HSLhsl(202, 60%, 41%)
HSVhsv(202, 75%, 66%)
CMYKcmyk(75.1%, 27.2%, 0%, 33.7%)
CIE-LABlab(48.91, -8.41, -31.46)
CIE-LCHlch(48.91, 32.56, 255.03°)
OKLaboklab(55.56% -0.0553 -0.0888)
OKLCHoklch(55.56% 0.105 238.1)
XYZxyz(15.1964, 17.5210, 40.1094)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BA9 #A9582A
analogous
#2AA998 #2A7BA9 #2A3CA9
triadic
#2A7BA9 #A92A7B #7BA92A
tetradic
#2A7BA9 #982AA9 #A9582A #3CA92A
square
#2A7BA9 #982AA9 #A9582A #3CA92A
split-complementary
#2A7BA9 #A92A3C #A9982A
monochromatic
#123447 #1E5778 #2A7BA9 #419CD0 #72B5DC

Accessibility & contrast

On white

4.66
#2A7BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7BA9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BA9#FFFFFF#000000##FFFFFF
##2A7BA91.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAB
Deuteranopia (green-blind)
#546FA8
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ba9;
/* rgb */ color: rgb(42, 123, 169);
/* oklch */ color: oklch(55.6% 0.105 238.1);
Tailwind
colors: {
  custom: {
    50: '#76a1c2',
    500: '#2a7ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ba9;
$custom-light: #76a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ba9",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 169
  },
  "hsl": {
    "h": 201.732,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.10458,
    "h": 238.1
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

primary
#2A7BA9
secondary
#C38B6C
accent
#7E44E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A7BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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