#2A6EB8#2A6EB8

#2A6EB8 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.135 H 253.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2A6EB8
RGBrgb(42, 110, 184)
HSLhsl(211, 63%, 44%)
HSVhsv(211, 77%, 72%)
CMYKcmyk(77.2%, 40.2%, 0%, 27.8%)
CIE-LABlab(45.77, 5.00, -45.13)
CIE-LCHlch(45.77, 45.40, 276.33°)
OKLaboklab(53.34% -0.0387 -0.1289)
OKLCHoklch(53.34% 0.135 253.3)
XYZxyz(15.1793, 15.1030, 47.4533)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EB8 #B8742A
analogous
#2AB5B8 #2A6EB8 #2D2AB8
triadic
#2A6EB8 #B82A6E #6EB82A
tetradic
#2A6EB8 #B82AB5 #B8742A #2AB82D
square
#2A6EB8 #B82AB5 #B8742A #2AB82D
split-complementary
#2A6EB8 #B82D2A #B5B82A
monochromatic
#133254 #1F5086 #2A6EB8 #4A8DD6 #7BACE1

Accessibility & contrast

On white

5.22
#2A6EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2A6EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EB8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EB8#FFFFFF#000000##FFFFFF
##2A6EB81.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BB
Deuteranopia (green-blind)
#3366B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6eb8;
/* rgb */ color: rgb(42, 110, 184);
/* oklch */ color: oklch(53.3% 0.135 253.3);
Tailwind
colors: {
  custom: {
    50: '#7897ce',
    500: '#2a6eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eb8;
$custom-light: #7897ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eb8",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 211.268,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.13458,
    "h": 253.3
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#2A6EB8
secondary
#C9A175
accent
#9742E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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