#2A7BB5#2A7BB5

#2A7BB5 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.118 H 244.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7BB5
RGBrgb(42, 123, 181)
HSLhsl(205, 62%, 44%)
HSVhsv(205, 77%, 71%)
CMYKcmyk(76.8%, 32%, 0%, 29%)
CIE-LABlab(49.49, -4.05, -37.51)
CIE-LCHlch(49.49, 37.72, 263.83°)
OKLaboklab(56.2% -0.0514 -0.1064)
OKLCHoklch(56.2% 0.118 244.2)
XYZxyz(16.3751, 17.9924, 46.3170)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BB5 #B5642A
analogous
#2AB5A9 #2A7BB5 #2A35B5
triadic
#2A7BB5 #B52A7B #7BB52A
tetradic
#2A7BB5 #A92AB5 #B5642A #35B52A
square
#2A7BB5 #A92AB5 #B5642A #35B52A
split-complementary
#2A7BB5 #B52A35 #B5A92A
monochromatic
#133752 #1E5983 #2A7BB5 #489AD4 #79B5E0

Accessibility & contrast

On white

4.57
#2A7BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2A7BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7BB5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BB5#FFFFFF#000000##000000
##2A7BB51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB8
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7bb5;
/* rgb */ color: rgb(42, 123, 181);
/* oklch */ color: oklch(56.2% 0.118 244.2);
Tailwind
colors: {
  custom: {
    50: '#78a0cb',
    500: '#2a7bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a7bb5;
$custom-light: #78a0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7bb5",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 205.036,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.11816,
    "h": 244.2
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#2A7BB5
secondary
#C89673
accent
#8642E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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