#2A7BB4#2A7BB4

#2A7BB4 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.1% C 0.117 H 243.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2A7BB4
RGBrgb(42, 123, 180)
HSLhsl(205, 62%, 44%)
HSVhsv(205, 77%, 71%)
CMYKcmyk(76.7%, 31.7%, 0%, 29.4%)
CIE-LABlab(49.44, -4.42, -37.01)
CIE-LCHlch(49.44, 37.27, 263.19°)
OKLaboklab(56.15% -0.0517 -0.1049)
OKLCHoklch(56.15% 0.117 243.8)
XYZxyz(16.2728, 17.9515, 45.7785)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BB4 #B4632A
analogous
#2AB4A8 #2A7BB4 #2A36B4
triadic
#2A7BB4 #B42A7B #7BB42A
tetradic
#2A7BB4 #A82AB4 #B4632A #36B42A
square
#2A7BB4 #A82AB4 #B4632A #36B42A
split-complementary
#2A7BB4 #B42A36 #B4A82A
monochromatic
#133751 #1E5982 #2A7BB4 #479AD4 #79B5E0

Accessibility & contrast

On white

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

On black

4.59
#2A7BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7BB4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BB4#FFFFFF#000000##000000
##2A7BB41.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#4D70B3
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7bb4;
/* rgb */ color: rgb(42, 123, 180);
/* oklch */ color: oklch(56.1% 0.117 243.8);
Tailwind
colors: {
  custom: {
    50: '#78a0ca',
    500: '#2a7bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2a7bb4;
$custom-light: #78a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7bb4",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 204.783,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56147,
    "c": 0.11698,
    "h": 243.8
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

primary
#2A7BB4
secondary
#C89572
accent
#8643E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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