#2A6EB4#2A6EB4

#2A6EB4 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.129 H 252.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2A6EB4
RGBrgb(42, 110, 180)
HSLhsl(210, 62%, 44%)
HSVhsv(210, 77%, 71%)
CMYKcmyk(76.7%, 38.9%, 0%, 29.4%)
CIE-LABlab(45.55, 3.49, -43.16)
CIE-LCHlch(45.55, 43.30, 274.63°)
OKLaboklab(53.09% -0.0397 -0.1231)
OKLCHoklch(53.09% 0.129 252.1)
XYZxyz(14.7659, 14.9377, 45.2762)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EB4 #B4702A
analogous
#2AB3B4 #2A6EB4 #2B2AB4
triadic
#2A6EB4 #B42A6E #6EB42A
tetradic
#2A6EB4 #B42AB3 #B4702A #2AB42B
square
#2A6EB4 #B42AB3 #B4702A #2AB42B
split-complementary
#2A6EB4 #B42B2A #B3B42A
monochromatic
#133151 #1E5082 #2A6EB4 #478DD4 #79ABE0

Accessibility & contrast

On white

5.27
#2A6EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2A6EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EB4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EB4#FFFFFF#000000##FFFFFF
##2A6EB41.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B7
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6eb4;
/* rgb */ color: rgb(42, 110, 180);
/* oklch */ color: oklch(53.1% 0.129 252.1);
Tailwind
colors: {
  custom: {
    50: '#7797cb',
    500: '#2a6eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eb4;
$custom-light: #7797cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eb4",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 210.435,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.12936,
    "h": 252.1
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#2A6EB4
secondary
#C89E72
accent
#9543E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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