#2A7AB8#2A7AB8

#2A7AB8 is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.1% C 0.123 H 246.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2A7AB8
RGBrgb(42, 122, 184)
HSLhsl(206, 63%, 44%)
HSVhsv(206, 77%, 72%)
CMYKcmyk(77.2%, 33.7%, 0%, 27.8%)
CIE-LABlab(49.34, -2.35, -39.47)
CIE-LCHlch(49.34, 39.54, 266.59°)
OKLaboklab(56.13% -0.0496 -0.1121)
OKLCHoklch(56.13% 0.123 246.1)
XYZxyz(16.5628, 17.8700, 47.9144)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AB8 #B8682A
analogous
#2AB8AF #2A7AB8 #2A33B8
triadic
#2A7AB8 #B82A7A #7AB82A
tetradic
#2A7AB8 #AF2AB8 #B8682A #33B82A
square
#2A7AB8 #AF2AB8 #B8682A #33B82A
split-complementary
#2A7AB8 #B82A33 #B8AF2A
monochromatic
#133854 #1F5986 #2A7AB8 #4A98D6 #7BB5E1

Accessibility & contrast

On white

4.59
#2A7AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2A7AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AB8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AB8#FFFFFF#000000##FFFFFF
##2A7AB81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBB
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7ab8;
/* rgb */ color: rgb(42, 122, 184);
/* oklch */ color: oklch(56.1% 0.123 246.1);
Tailwind
colors: {
  custom: {
    50: '#78a0cd',
    500: '#2a7ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ab8;
$custom-light: #78a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ab8",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 206.197,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.12261,
    "h": 246.1
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#2A7AB8
secondary
#C99A75
accent
#8A42E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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