#2A7BB8#2A7BB8

#2A7BB8 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.122 H 245.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A7BB8
RGBrgb(42, 123, 184)
HSLhsl(206, 63%, 44%)
HSVhsv(206, 77%, 72%)
CMYKcmyk(77.2%, 33.2%, 0%, 27.8%)
CIE-LABlab(49.64, -2.95, -39.00)
CIE-LCHlch(49.64, 39.11, 265.67°)
OKLaboklab(56.37% -0.0505 -0.1107)
OKLCHoklch(56.37% 0.122 245.5)
XYZxyz(16.6862, 18.1169, 47.9556)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BB8 #B8672A
analogous
#2AB8AE #2A7BB8 #2A34B8
triadic
#2A7BB8 #B82A7B #7BB82A
tetradic
#2A7BB8 #AE2AB8 #B8672A #34B82A
square
#2A7BB8 #AE2AB8 #B8672A #34B82A
split-complementary
#2A7BB8 #B82A34 #B8AE2A
monochromatic
#133854 #1F5A86 #2A7BB8 #4A99D6 #7BB5E1

Accessibility & contrast

On white

4.54
#2A7BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2A7BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7BB8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BB8#FFFFFF#000000##000000
##2A7BB81.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBB
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7bb8;
/* rgb */ color: rgb(42, 123, 184);
/* oklch */ color: oklch(56.4% 0.122 245.5);
Tailwind
colors: {
  custom: {
    50: '#78a0cd',
    500: '#2a7bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7bb8;
$custom-light: #78a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7bb8",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 184
  },
  "hsl": {
    "h": 205.775,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.12172,
    "h": 245.5
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#2A7BB8
secondary
#C99975
accent
#8842E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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