#2A6DB4#2A6DB4

#2A6DB4 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.130 H 252.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2A6DB4
RGBrgb(42, 109, 180)
HSLhsl(211, 62%, 44%)
HSVhsv(211, 77%, 71%)
CMYKcmyk(76.7%, 39.4%, 0%, 29.4%)
CIE-LABlab(45.25, 4.12, -43.63)
CIE-LCHlch(45.25, 43.83, 275.39°)
OKLaboklab(52.86% -0.0388 -0.1245)
OKLCHoklch(52.86% 0.13 252.7)
XYZxyz(14.6586, 14.7231, 45.2404)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB4 #B4712A
analogous
#2AB2B4 #2A6DB4 #2C2AB4
triadic
#2A6DB4 #B42A6D #6DB42A
tetradic
#2A6DB4 #B42AB2 #B4712A #2AB42C
square
#2A6DB4 #B42AB2 #B4712A #2AB42C
split-complementary
#2A6DB4 #B42C2A #B2B42A
monochromatic
#133151 #1E4F82 #2A6DB4 #478CD4 #79ABE0

Accessibility & contrast

On white

5.32
#2A6DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2A6DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB4#FFFFFF#000000##FFFFFF
##2A6DB41.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B7
Deuteranopia (green-blind)
#3565B3
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6db4;
/* rgb */ color: rgb(42, 109, 180);
/* oklch */ color: oklch(52.9% 0.130 252.7);
Tailwind
colors: {
  custom: {
    50: '#7796cb',
    500: '#2a6db4',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db4;
$custom-light: #7796cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db4",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 180
  },
  "hsl": {
    "h": 210.87,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.13042,
    "h": 252.7
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#2A6DB4
secondary
#C89E72
accent
#9643E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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