#2A6CB6#2A6CB6

#2A6CB6 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.134 H 253.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2A6CB6
RGBrgb(42, 108, 182)
HSLhsl(212, 63%, 44%)
HSVhsv(212, 77%, 71%)
CMYKcmyk(76.9%, 40.7%, 0%, 28.6%)
CIE-LABlab(45.07, 5.50, -45.09)
CIE-LCHlch(45.07, 45.42, 276.95°)
OKLaboklab(52.76% -0.0374 -0.1288)
OKLCHoklch(52.76% 0.134 253.8)
XYZxyz(14.7578, 14.5930, 46.2859)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CB6 #B6742A
analogous
#2AB2B6 #2A6CB6 #2E2AB6
triadic
#2A6CB6 #B62A6C #6CB62A
tetradic
#2A6CB6 #B62AB2 #B6742A #2AB62E
square
#2A6CB6 #B62AB2 #B6742A #2AB62E
split-complementary
#2A6CB6 #B62E2A #B2B62A
monochromatic
#133153 #1F4E84 #2A6CB6 #488BD5 #7AAAE0

Accessibility & contrast

On white

5.36
#2A6CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2A6CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CB6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CB6#FFFFFF#000000##FFFFFF
##2A6CB61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872B9
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6cb6;
/* rgb */ color: rgb(42, 108, 182);
/* oklch */ color: oklch(52.8% 0.134 253.8);
Tailwind
colors: {
  custom: {
    50: '#7895cc',
    500: '#2a6cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cb6;
$custom-light: #7895cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cb6",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 182
  },
  "hsl": {
    "h": 211.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.13413,
    "h": 253.8
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#2A6CB6
secondary
#C8A073
accent
#9942E6
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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