#2A6DB2#2A6DB2

#2A6DB2 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.128 H 252.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2A6DB2
RGBrgb(42, 109, 178)
HSLhsl(210, 62%, 43%)
HSVhsv(210, 76%, 70%)
CMYKcmyk(76.4%, 38.8%, 0%, 30.2%)
CIE-LABlab(45.14, 3.36, -42.65)
CIE-LCHlch(45.14, 42.78, 274.51°)
OKLaboklab(52.74% -0.0392 -0.1216)
OKLCHoklch(52.74% 0.128 252.1)
XYZxyz(14.4563, 14.6422, 44.1752)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB2 #B26F2A
analogous
#2AB1B2 #2A6DB2 #2B2AB2
triadic
#2A6DB2 #B22A6D #6DB22A
tetradic
#2A6DB2 #B22AB1 #B26F2A #2AB22B
square
#2A6DB2 #B22AB1 #B26F2A #2AB22B
split-complementary
#2A6DB2 #B22B2A #B1B22A
monochromatic
#13304F #1E4F80 #2A6DB2 #468CD3 #77AADF

Accessibility & contrast

On white

5.35
#2A6DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2A6DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB2#FFFFFF#000000##FFFFFF
##2A6DB21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6db2;
/* rgb */ color: rgb(42, 109, 178);
/* oklch */ color: oklch(52.7% 0.128 252.1);
Tailwind
colors: {
  custom: {
    50: '#7796c9',
    500: '#2a6db2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db2;
$custom-light: #7796c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db2",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 210.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.12782,
    "h": 252.1
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#2A6DB2
secondary
#C79D71
accent
#9543E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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