#2A6DB7#2A6DB7

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

Color values

HEX#2A6DB7
RGBrgb(42, 109, 183)
HSLhsl(211, 63%, 44%)
HSVhsv(211, 77%, 72%)
CMYKcmyk(77%, 40.4%, 0%, 28.2%)
CIE-LABlab(45.42, 5.25, -45.11)
CIE-LCHlch(45.42, 45.41, 276.64°)
OKLaboklab(53.05% -0.038 -0.1289)
OKLCHoklch(53.05% 0.134 253.6)
XYZxyz(14.9675, 14.8467, 46.8674)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB7 #B7742A
analogous
#2AB4B7 #2A6DB7 #2D2AB7
triadic
#2A6DB7 #B72A6D #6DB72A
tetradic
#2A6DB7 #B72AB4 #B7742A #2AB72D
square
#2A6DB7 #B72AB4 #B7742A #2AB72D
split-complementary
#2A6DB7 #B72D2A #B4B72A
monochromatic
#133253 #1F4F85 #2A6DB7 #498CD5 #7BABE1

Accessibility & contrast

On white

5.29
#2A6DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2A6DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB7#FFFFFF#000000##FFFFFF
##2A6DB71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BA
Deuteranopia (green-blind)
#3266B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6db7;
/* rgb */ color: rgb(42, 109, 183);
/* oklch */ color: oklch(53.0% 0.134 253.6);
Tailwind
colors: {
  custom: {
    50: '#7896cd',
    500: '#2a6db7',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db7;
$custom-light: #7896cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db7",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 211.489,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.13436,
    "h": 253.6
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#2A6DB7
secondary
#C9A174
accent
#9842E6
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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