#2A6DB8#2A6DB8

#2A6DB8 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.136 H 253.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A6DB8
RGBrgb(42, 109, 184)
HSLhsl(212, 63%, 44%)
HSVhsv(212, 77%, 72%)
CMYKcmyk(77.2%, 40.8%, 0%, 27.8%)
CIE-LABlab(45.48, 5.63, -45.59)
CIE-LCHlch(45.48, 45.94, 277.04°)
OKLaboklab(53.11% -0.0378 -0.1303)
OKLCHoklch(53.11% 0.136 253.8)
XYZxyz(15.0720, 14.8885, 47.4175)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB8 #B8752A
analogous
#2AB4B8 #2A6DB8 #2E2AB8
triadic
#2A6DB8 #B82A6D #6DB82A
tetradic
#2A6DB8 #B82AB4 #B8752A #2AB82E
square
#2A6DB8 #B82AB4 #B8752A #2AB82E
split-complementary
#2A6DB8 #B82E2A #B4B82A
monochromatic
#133254 #1F4F86 #2A6DB8 #4A8CD6 #7BABE1

Accessibility & contrast

On white

5.28
#2A6DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2A6DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB8#FFFFFF#000000##FFFFFF
##2A6DB81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6db8;
/* rgb */ color: rgb(42, 109, 184);
/* oklch */ color: oklch(53.1% 0.136 253.8);
Tailwind
colors: {
  custom: {
    50: '#7896ce',
    500: '#2a6db8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db8;
$custom-light: #7896ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db8",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 211.69,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.13567,
    "h": 253.8
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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