#2A6DB6#2A6DB6

#2A6DB6 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.133 H 253.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2A6DB6
RGBrgb(42, 109, 182)
HSLhsl(211, 63%, 44%)
HSVhsv(211, 77%, 71%)
CMYKcmyk(76.9%, 40.1%, 0%, 28.6%)
CIE-LABlab(45.37, 4.87, -44.62)
CIE-LCHlch(45.37, 44.88, 276.23°)
OKLaboklab(52.99% -0.0383 -0.1274)
OKLCHoklch(52.99% 0.133 253.3)
XYZxyz(14.8638, 14.8052, 46.3212)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB6 #B6732A
analogous
#2AB3B6 #2A6DB6 #2D2AB6
triadic
#2A6DB6 #B62A6D #6DB62A
tetradic
#2A6DB6 #B62AB3 #B6732A #2AB62D
square
#2A6DB6 #B62AB3 #B6732A #2AB62D
split-complementary
#2A6DB6 #B62D2A #B3B62A
monochromatic
#133153 #1F4F84 #2A6DB6 #488CD5 #7AABE0

Accessibility & contrast

On white

5.30
#2A6DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2A6DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB6#FFFFFF#000000##FFFFFF
##2A6DB61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B9
Deuteranopia (green-blind)
#3366B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6db6;
/* rgb */ color: rgb(42, 109, 182);
/* oklch */ color: oklch(53.0% 0.133 253.3);
Tailwind
colors: {
  custom: {
    50: '#7896cc',
    500: '#2a6db6',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db6;
$custom-light: #7896cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db6",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 182
  },
  "hsl": {
    "h": 211.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.13305,
    "h": 253.3
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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